diff src/protocol.c @ 271:3477050e8d10 noffle

[svn] * src/client.c,src/fetch.c,src/lock.c.src/protocol.c,src/util.h,src/util.c: Define our own SignalHandler type rather than use the rather Linux-specific (and potentially glibc version specific) sig_t. * src/client.c,src/database.h,src/database.c,src/over.h,src/over.c, src/pseudo.c,src/server.c: Ensure format string specifiers and passed data types match. As part of this, change some uses of size_t as a general data type to an appropriate base C type. Database status changes from int to unsigned.
author bears
date Sun, 10 Nov 2002 11:32:17 +0000
parents 030c41dfd9ba
children baa6408d1bbc
line wrap: on
line diff
--- a/src/protocol.c	Sun Nov 10 11:30:40 2002 +0000
+++ b/src/protocol.c	Sun Nov 10 11:32:17 2002 +0000
@@ -1,7 +1,7 @@
 /*
   protocol.c
 
-  $Id: protocol.c 383 2002-06-26 13:13:26Z bears $
+  $Id: protocol.c 403 2002-11-10 11:32:17Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -36,7 +36,7 @@
 {
     size_t len;
     char *ret;
-    sig_t oldHandler = NULL;
+    SignalHandler oldHandler = NULL;
     int line_too_long;
 
     if ( timeoutSeconds >= 0 )