X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/5ddc9771fa4d7861d3e5bfd6ea30c054883eaf40..cd1a5fe0ed22087c6afbe585ab0206c2a4a267aa:/test/src/server.c diff --git a/test/src/server.c b/test/src/server.c index 26fcaf070..9d00300f1 100644 --- a/test/src/server.c +++ b/test/src/server.c @@ -52,6 +52,7 @@ on all interfaces, unless the option -noipv6 is given. */ #ifndef CS # define CS (char *) +# define CCS (const char *) #endif @@ -726,7 +727,7 @@ for (count = 0; count < connection_count; count++) alarm(0); n += offset; - printit(buffer, n); + printit(CS buffer, n); if (data) do { @@ -772,8 +773,10 @@ for (count = 0; count < connection_count; count++) } } - if (sscanf(buffer, "