[Olsr-dev] [PATCH v1 36/44] jsoninfo: use the plugin name in a malloc call
Ferry Huberts
(spam-protected)
Fri Nov 27 10:43:29 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
lib/jsoninfo/src/olsrd_jsoninfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.c b/lib/jsoninfo/src/olsrd_jsoninfo.c
index 0ab4f3a..1655553 100644
--- a/lib/jsoninfo/src/olsrd_jsoninfo.c
+++ b/lib/jsoninfo/src/olsrd_jsoninfo.c
@@ -1412,7 +1412,7 @@ static void send_info(unsigned int send_what, int the_socket) {
header_len = build_http_header(HTTP_200, content_type, abuf.len, header_buf, sizeof(header_buf));
}
- outbuffer[outbuffer_count] = olsr_malloc(header_len + abuf.len, "json output buffer");
+ outbuffer[outbuffer_count] = olsr_malloc(header_len + abuf.len, PLUGIN_NAME" output buffer");
outbuffer_size[outbuffer_count] = header_len + abuf.len;
outbuffer_written[outbuffer_count] = 0;
outbuffer_socket[outbuffer_count] = the_socket;
--
2.5.0
More information about the Olsr-dev
mailing list