diff options
Diffstat (limited to 'ubusd_main.c')
-rw-r--r-- | ubusd_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubusd_main.c b/ubusd_main.c index 4ea5245..d454b1a 100644 --- a/ubusd_main.c +++ b/ubusd_main.c @@ -78,6 +78,7 @@ static void client_cb(struct uloop_fd *sock, unsigned int events) if (cl->txq_ofs < ub->len + sizeof(ub->hdr)) break; + cl->txq_ofs = 0; ubus_msg_list_free(ubl); } |