From 387e33a6edc0cbddd3c262a107e3b9026cd55872 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 1 Jan 2013 23:44:35 +0100 Subject: [PATCH] fix typo in header name check --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0