X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=dacdc39f7965148d407f51dcfdb2886c07e97fa3;hb=5ba7734cc97eef6688596180b7faf535ee249976;hp=2789a9b3da411c88f51e3714e3f17a2a4a136096;hpb=d16f37add45152d0d3b786a4676577a57e4f4139;p=yaz-moved-to-github.git diff --git a/src/statserv.c b/src/statserv.c index 2789a9b..dacdc39 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ @@ -995,7 +995,7 @@ static void listener(IOCHAN h, int event) static void *new_session(void *vp) { - char *a; + const char *a; association *newas; IOCHAN new_chan; COMSTACK new_line = (COMSTACK) vp; @@ -1063,7 +1063,7 @@ static void inetd_connection(int what) COMSTACK line; IOCHAN chan; association *assoc; - char *addr; + const char *addr; if ((line = cs_createbysocket(0, tcpip_type, 0, what))) {