aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c
index 4707f327..fd4f5c47 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -102,7 +102,7 @@ int parse_stream_flags(const char *a)
} else {
ERROR("Unrecognised stream flag '%s'\n", flags[i]);
- return 0;
+ return -1;
}
free(flags[i]);