From 27a16f8b1d62d22c9aff5307201988fe5445fcd6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Feb 2011 03:01:36 +0100 Subject: [PATCH] remove some duplication --- ubusd_proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubusd_proto.c b/ubusd_proto.c index 0654e99..ff2725b 100644 --- a/ubusd_proto.c +++ b/ubusd_proto.c @@ -41,7 +41,7 @@ static struct ubus_msg_buf *ubus_reply_from_blob(struct ubus_msg_buf *ub, bool s { struct ubus_msg_buf *new; - new = ubus_msg_new(b.head, blob_raw_len(b.head), shared); + new = ubus_msg_from_blob(shared); if (!new) return NULL; -- 2.11.0