commit 051bb63cd9c7e7a9861b9c3e82d993de13c39bba
parent 53c1e3a77bcea4b619e7d86c48d98ee151fe445b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 18 Feb 2018 15:10:27 +0100
sfeed_plain: force flush line to output, useful for tail -f
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sfeed_plain.c b/sfeed_plain.c
@@ -47,6 +47,7 @@ printfeed(FILE *fp, const char *feedname)
tm->tm_hour, tm->tm_min);
printutf8pad(stdout, fields[FieldTitle], 70, ' ');
printf(" %s\n", fields[FieldLink]);
+ fflush(stdout);
}
}