diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-02-18 15:10:27 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-02-18 15:10:27 +0100 |
commit | 051bb63cd9c7e7a9861b9c3e82d993de13c39bba (patch) | |
tree | f01a1293c9d55c2d1888ac382774c8fd40646c4e | |
parent | 53c1e3a77bcea4b619e7d86c48d98ee151fe445b (diff) |
sfeed_plain: force flush line to output, useful for tail -f
-rw-r--r-- | sfeed_plain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfeed_plain.c b/sfeed_plain.c index 236be99..e9e2446 100644 --- 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); } } |