diff options
author | naddy <naddy@FreeBSD.org> | 2004-02-14 22:19:22 +0000 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2004-02-14 22:19:22 +0000 |
commit | d9be610b6116c8383ed7566178499d215c83f70e (patch) | |
tree | bd09847d171d847aa4133986792c4d28aad9f195 /irc/icbirc/files | |
parent | 637ce5f53de1fe5b40285e68c49b273ff75042aa (diff) | |
download | FreeBSD-ports-d9be610b6116c8383ed7566178499d215c83f70e.zip FreeBSD-ports-d9be610b6116c8383ed7566178499d215c83f70e.tar.gz |
Import icbirc 1.6.
icbirc is a proxy that allows to connect an IRC client to an ICB server.
PR: 62506
Submitted by: hrs
Diffstat (limited to 'irc/icbirc/files')
-rw-r--r-- | irc/icbirc/files/patch-icbirc.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/irc/icbirc/files/patch-icbirc.c b/irc/icbirc/files/patch-icbirc.c new file mode 100644 index 0000000..2e4a9d1 --- /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 |