diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-01 23:44:35 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-01 23:44:35 +0100 |
commit | 387e33a6edc0cbddd3c262a107e3b9026cd55872 (patch) | |
tree | e77983bd3b215bfa3b3ae3047235020e7b908d98 /proc.c | |
parent | 58c5fd1f9a72db878e29958a4c4e1b65db5b2e07 (diff) |
fix typo in header name check
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |