From 0c26df2d2518fed5f3090d3f4403185c3b122725 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 14 Feb 2004 22:19:22 +0000 Subject: Import icbirc 1.6. icbirc is a proxy that allows to connect an IRC client to an ICB server. PR: 62506 Submitted by: hrs --- irc/icbirc/files/patch-icbirc.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 irc/icbirc/files/patch-icbirc.c (limited to 'irc/icbirc/files/patch-icbirc.c') diff --git a/irc/icbirc/files/patch-icbirc.c b/irc/icbirc/files/patch-icbirc.c new file mode 100644 index 000000000000..2e4a9d19882c --- /dev/null +++ b/irc/icbirc/files/patch-icbirc.c @@ -0,0 +1,22 @@ + +$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 -- cgit v1.2.3