mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
journal: add stdout_stream_scan() comment (#4102)
When s->length is zero this function doesn't do anything, note that in a comment.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user