summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00395ef)
raw | patch | inline | side by side (parent: 00395ef)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 1 Aug 2016 19:55:13 +0000 (21:55 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 1 Aug 2016 19:55:13 +0000 (21:55 +0200) |
all messages written into it are null-terminated
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index 71e38a47795b572ad75491b7e2f87af26ef6dca0..9a20f4a119a9bbdf9a34c090559675d7f972caa1 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
{
camqp_config_t *conf = user_data->data;
char routing_key[6 * DATA_MAX_NAME_LEN];
- char buffer[8192] = { 0 };
+ char buffer[8192];
int status;
if ((ds == NULL) || (vl == NULL) || (conf == NULL))