On Fri, Jan 16, 2015 at 4:42 AM, Rafał Miłecki <[email protected]> wrote:
[snip]
> - if (uh->state == HTTP_STATE_RECV_DATA && uc->cb->data_read)
> - uc->cb->data_read(uc);
> + if (uh->state == HTTP_STATE_RECV_DATA)
> + /* Now it's uclient user turn to read some data */
> + uloop_timeout_cancel(&uc->connection_timeout);
> +
> + if (uc->cb->data_read)
> + uc->cb->data_read(uc);
The above snippet doesn't look right. I think you probably
meant to add curly braces around the block:
if (uh->state == HTTP_STATE_RECV_DATA) {
// ...
}
-John
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel