diff src/fetch.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 0340b9c17edc
children 755e03bc7dcf
line wrap: on
line diff
--- a/src/fetch.c	Sun Nov 10 11:30:40 2002 +0000
+++ b/src/fetch.c	Sun Nov 10 11:32:17 2002 +0000
@@ -1,7 +1,7 @@
 /*
   fetch.c
 
-  $Id: fetch.c 381 2002-05-14 14:25:45Z mirkol $
+  $Id: fetch.c 403 2002-11-10 11:32:17Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -302,7 +302,7 @@
     int ret;
     Str cmd;
     FILE *f;
-    sig_t lastHandler;
+    SignalHandler lastHandler;
 
     Log_err( "Return article to '%s' by mail", sender );
     snprintf( cmd, MAXCHAR, "%s -t -oi", SENDMAILPROG);