libubus: fix writev_retry() function when writing large packets
[project/ubus.git] / libubus.h
index 78ffa38..a63ce31 100644 (file)
--- a/libubus.h
+++ b/libubus.h
@@ -156,6 +156,7 @@ struct ubus_context {
 
        struct ubus_msghdr_buf msgbuf;
        uint32_t msgbuf_data_len;
+       int msgbuf_reduction_counter;
 };
 
 struct ubus_object_data {