]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journald-stream.c
journal: add stdout_stream_scan() comment (#4102)
[thirdparty/systemd.git] / src / journal / journald-stream.c
index 4ad16ee41ca61f27bf3cb8cccb73e34462775128..bc092f3c126fbac55a9f80c09a9c25e733c66d8e 100644 (file)
@@ -393,6 +393,9 @@ static int stdout_stream_scan(StdoutStream *s, bool force_flush) {
 
         p = s->buffer;
         remaining = s->length;
+
+        /* XXX: This function does nothing if (s->length == 0) */
+
         for (;;) {
                 char *end;
                 size_t skip;