From 64659dfdc629fe14a842c430db1f1351a8d4340b Mon Sep 17 00:00:00 2001 From: phintuka Date: Thu, 3 Apr 2008 13:59:37 +0000 Subject: pointer -> constant char array --- tools/vdrdiscovery.c | 4 ++-- 1 file 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; -- cgit v1.2.3