diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 12:08:09 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 12:08:09 +0100 |
commit | 7215fb5a2b9abfd46374c1449ae9b5cb216280b1 (patch) | |
tree | 3c302fe8e421f803a3366596fa13a5db86ec2dd7 | |
parent | cae905876089e82d6ac8af0acc700c018d352939 (diff) |
parse status header code from cgi scripts
-rw-r--r-- | proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -178,6 +178,7 @@ static void proc_handle_header(struct relay *r, const char *name, const char *va buf[3] = 0; snprintf(status_buf, sizeof(status_buf), "%s", sep + 1); cl->dispatch.proc.status_msg = status_buf; + cl->dispatch.proc.status_code = atoi(buf); return; } |