summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 9d662ad..ddd1909 100644
--- a/proc.c
+++ b/proc.c
@@ -169,7 +169,7 @@ static void proc_handle_header(struct relay *r, const char *name, const char *va
char *sep;
char buf[4];
- if (strcmp(name, "Status")) {
+ if (!strcmp(name, "Status")) {
sep = strchr(val, ' ');
if (sep != val + 3)
return;