ubusd: don't free messages in ubus_send_msg() anymore
[project/ubus.git] / ubusd.h
diff --git a/ubusd.h b/ubusd.h
index 5031ed4..991a59f 100644 (file)
--- a/ubusd.h
+++ b/ubusd.h
@@ -67,7 +67,7 @@ struct ubus_path {
 extern const char *ubusd_acl_dir;
 
 struct ubus_msg_buf *ubus_msg_new(void *data, int len, bool shared);
-void ubus_msg_send(struct ubus_client *cl, struct ubus_msg_buf *ub, bool free);
+void ubus_msg_send(struct ubus_client *cl, struct ubus_msg_buf *ub);
 void ubus_msg_free(struct ubus_msg_buf *ub);
 struct blob_attr **ubus_parse_msg(struct blob_attr *msg);