From 8cfd0f7b84730e10238219bd5b93677519ecbb16 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 8 Nov 2016 22:41:42 +0000 Subject: tidying --- test/src/server.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/src') 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, "