projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
58c5fd1
)
fix typo in header name check
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Jan 2013 22:44:35 +0000
(23:44 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Jan 2013 22:44:35 +0000
(23:44 +0100)
proc.c
patch
|
blob
|
history
diff --git
a/proc.c
b/proc.c
index
9d662ad
..
ddd1909
100644
(file)
--- 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];
char *sep;
char buf[4];
- if (strcmp(name, "Status")) {
+ if (
!
strcmp(name, "Status")) {
sep = strchr(val, ' ');
if (sep != val + 3)
return;
sep = strchr(val, ' ');
if (sep != val + 3)
return;