1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/irc/icbirc/files/patch-icbirc.c
Christian Weisgerber 0c26df2d25 Import icbirc 1.6.
icbirc is a proxy that allows to connect an IRC client to an ICB server.

PR:		62506
Submitted by:	hrs
2004-02-14 22:19:22 +00:00

23 lines
603 B
C

$FreeBSD$
--- icbirc.c.orig Wed Aug 20 23:55:59 2003
+++ icbirc.c Sat Feb 14 23:09:01 2004
@@ -318,12 +318,12 @@
done:
if (server_fd >= 0)
close(server_fd);
- printf("(%u seconds, %lu:%lu bytes)\n",
- time(NULL) - t, bytes_out, bytes_in);
+ printf("(%lu seconds, %lu:%lu bytes)\n",
+ (long)time(NULL) - t, bytes_out, bytes_in);
if (terminate_client)
irc_send_notice(client_fd, "Closing connection "
- "(%u seconds, %lu:%lu bytes)",
- time(NULL) - t, bytes_out, bytes_in);
+ "(%lu seconds, %lu:%lu bytes)",
+ (long)time(NULL) - t, bytes_out, bytes_in);
}
int