---
CHANGES | 2 ++
ii.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/CHANGES b/CHANGES
index 9997347..0c8541a 100644
--- a/CHANGES
+++ b/CHANGES
_AT_@ -1,4 +1,6 @@
1.8 (2014-??-??)
+ - raw IRC output to stdout.
+ - add quit command (/q [string]).
- write timestamp in outfile as unix timestamp (UTC+0).
- server host (-s) doesn't default to irc.freenode and is now a required
parameter.
diff --git a/ii.c b/ii.c
index 3928c33..52dae28 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -561,6 +561,8 @@ handle_server_output(int ircfd) {
if(read_line(ircfd, buf, sizeof(buf)) == -1)
eprintf("ii: remote host closed connection\n");
+ fprintf(stdout, "%lu %s\n", (unsigned long)time(NULL), buf);
+ fflush(stdout);
proc_server_cmd(ircfd, buf);
}
--
2.4.10
--Multipart=_Mon__9_May_2016_17_21_10_+0200_I.6cpFVydhq75aaE
Content-Type: text/x-diff;
name="0051-code-style-increase-IRC-channel-buffer-size.patch"
Content-Disposition: attachment;
filename="0051-code-style-increase-IRC-channel-buffer-size.patch"
Content-Transfer-Encoding: 7bit
Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Mon May 09 2016 - 17:24:22 CEST