commit 2580f7cedbb1cc603e92cc09235be2f6385dd2a4
Author:     Jan Klemkow <[email protected]>
AuthorDate: Sun May 13 02:55:43 2018 +0200
Commit:     Jan Klemkow <[email protected]>
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
@@ -37,6 +37,11 @@ main(void)
                }
 
                nick = strsep(&next, ">");
+               if (next == NULL) {
+                       fputs(buf, stdout);
+                       fflush(stdout);
+                       continue;
+               }
                nick++;                         /* skip '<'   */
                next++;                         /* skip space */
 

Reply via email to