From fc6817f4dcebc81838636ab6dd01f945b80bac2a Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Thu, 15 Mar 2012 13:04:38 -0400 Subject: [PATCH] Fix some warnings. --- test/fakesmtp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/fakesmtp.c b/test/fakesmtp.c index 19df2e9..700bc45 100644 --- a/test/fakesmtp.c +++ b/test/fakesmtp.c @@ -240,7 +240,7 @@ static int getsmtp(int socket, char *data) { int cc; - static int bytesinbuf = 0; + static unsigned int bytesinbuf = 0; static char buffer[LINESIZE * 2], *p; for (;;) { @@ -294,6 +294,8 @@ getsmtp(int socket, char *data) static void handleterm(int signal) { + (void) signal; + killpidfile(); fflush(NULL); _exit(1); -- 1.7.10.4