]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-write.c
Use some more specific data types (e. g. pid_t vs. int), make "SPLint" happy :-)
[ngircd-alex.git] / src / ngircd / irc-write.c
index fbfa90332b90ec6f89490161c304cfb8ae490d51..ddb307e32ec48adbc73dcfdbe50ec869a64b8495 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-write.c,v 1.19 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: irc-write.c,v 1.20 2006/05/10 21:24:01 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -400,7 +400,7 @@ va_dcl
 
 
 GLOBAL void
-IRC_SetPenalty( CLIENT *Client, int Seconds )
+IRC_SetPenalty( CLIENT *Client, time_t Seconds )
 {
        CONN_ID c;
        
@@ -410,7 +410,8 @@ IRC_SetPenalty( CLIENT *Client, int Seconds )
        if( Client_Type( Client ) == CLIENT_SERVER ) return;
        
        c = Client_Conn( Client );
-       if( c > NONE ) Conn_SetPenalty( c, Seconds );           
+       if (c > NONE)
+               Conn_SetPenalty(c, Seconds);
 } /* IRC_SetPenalty */