fixed error in HTTP header skipper

This commit is contained in:
Roman Arutyunyan 2012-04-01 11:11:08 +04:00
parent 8f648495ec
commit d3c5ad1196

View file

@ -534,7 +534,7 @@ ngx_rtmp_netcall_http_skip_header(ngx_chain_t *in)
while (b->pos == b->last) { while (b->pos == b->last) {
in = in->next; in = in->next;
if (in == NULL) { if (in == NULL) {
break; return NULL;
} }
b = in->buf; b = in->buf;
} }
@ -555,8 +555,6 @@ ngx_rtmp_netcall_http_skip_header(ngx_chain_t *in)
state = normal; state = normal;
} }
} }
return NULL;
} }