[hackers] [lchat] add output of non-message line || Jan Klemkow
commit 2580f7cedbb1cc603e92cc09235be2f6385dd2a4
Author: Jan Klemkow <j.klemkow_AT_wemelug.de>
AuthorDate: Sun May 13 02:55:43 2018 +0200
Commit: Jan Klemkow <j.klemkow_AT_wemelug.de>
CommitDate: Sun May 13 02:56:33 2018 +0200
add output of non-message line
diff --git a/filter/indent.c b/filter/indent.c
index 24a3550..176448a 100644
--- a/filter/indent.c
+++ b/filter/indent.c
_AT_@ -37,6 +37,11 @@ main(void)
}
nick = strsep(&next, ">");
+ if (next == NULL) {
+ fputs(buf, stdout);
+ fflush(stdout);
+ continue;
+ }
nick++; /* skip '<' */
next++; /* skip space */
Received on Sun May 13 2018 - 03:05:57 CEST
This archive was generated by hypermail 2.3.0
: Sun May 13 2018 - 03:12:24 CEST