diff options
author | phintuka <phintuka> | 2008-04-03 13:59:37 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-04-03 13:59:37 +0000 |
commit | 64659dfdc629fe14a842c430db1f1351a8d4340b (patch) | |
tree | 86129d13bd7eb7e80699a0b0ee616658b17fc98f | |
parent | 869387827ede1e437ec3f3be32582ba10be8630b (diff) | |
download | xineliboutput-64659dfdc629fe14a842c430db1f1351a8d4340b.tar.gz xineliboutput-64659dfdc629fe14a842c430db1f1351a8d4340b.tar.bz2 |
pointer -> constant char array
-rw-r--r-- | tools/vdrdiscovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vdrdiscovery.c b/tools/vdrdiscovery.c index da5bfb2a..82a9a109 100644 --- a/tools/vdrdiscovery.c +++ b/tools/vdrdiscovery.c @@ -7,7 +7,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: vdrdiscovery.c,v 1.4 2007-06-11 19:39:06 phintuka Exp $ + * $Id: vdrdiscovery.c,v 1.5 2008-04-03 13:59:37 phintuka Exp $ * */ @@ -201,7 +201,7 @@ int udp_discovery_is_valid_search(const char *buf) #else int udp_discovery_find_server(int *port, char *address) { - static const char *mystring = DISCOVERY_1_0_HDR "Server port: "; + static const char mystring[] = DISCOVERY_1_0_HDR "Server port: "; struct sockaddr_in from; char buf[DISCOVERY_MSG_MAXSIZE]; int fd_discovery = -1; |