about summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-02 18:40:19 -0400
committerJune McEnroe <june@causal.agency>2021-10-02 19:51:40 -0400
commitc63c1683414c044a16722e9f1e738dd6ea63ec69 (patch)
tree847a9cca0368e0a5b673c65cf54e2a9f3f6ef59a /bounce.c
parentExplain what pounce does and some of how it works in README (diff)
downloadpounce-c63c1683414c044a16722e9f1e738dd6ea63ec69.tar.gz
pounce-c63c1683414c044a16722e9f1e738dd6ea63ec69.zip
Log IRC to standard output with -v
So that it can actually be logged to a file separate from any errors
or status messages. Also make sure only LF is used when logging.
Diffstat (limited to 'bounce.c')
-rw-r--r--bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bounce.c b/bounce.c
index 515f7d7..ef256bc 100644
--- a/bounce.c
+++ b/bounce.c
@@ -289,7 +289,7 @@ int main(int argc, char *argv[]) {
 			break; case 's': ringSize = parseSize(optarg);
 			break; case 't': trust = optarg;
 			break; case 'u': user = optarg;
-			break; case 'v': verbose = true;
+			break; case 'v': verbose = true; setlinebuf(stdout);
 			break; case 'w': pass = optarg;
 			break; case 'x': hashPass(); return EX_OK;
 			break; case 'y': clientAway = optarg;