X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=e46b1105666fb0dce286e39e75f9b66fc141cfd6;hb=b0f1c1366ae428139ead8584c8c7e423aad7e0b3;hp=2789a9b3da411c88f51e3714e3f17a2a4a136096;hpb=d16f37add45152d0d3b786a4676577a57e4f4139;p=yaz-moved-to-github.git diff --git a/src/statserv.c b/src/statserv.c index 2789a9b..e46b110 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -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))) {