diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-10 18:01:34 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-10 18:01:34 +0400 |
commit | 741e8f3c20a06b0a9bfa8dfad418e18b130e7433 (patch) | |
tree | 5824bcbc9589b3ce3ee1d2ef13526e49f0153297 | |
parent | a0de64b944553828f73c884c4674e05c1f0fb684 (diff) | |
download | rspamd-741e8f3c20a06b0a9bfa8dfad418e18b130e7433.tar.gz rspamd-741e8f3c20a06b0a9bfa8dfad418e18b130e7433.zip |
Make buffers non-static.
-rw-r--r-- | lib/librspamdclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librspamdclient.c b/lib/librspamdclient.c index 3fd021c11..55a9b13dc 100644 --- a/lib/librspamdclient.c +++ b/lib/librspamdclient.c @@ -987,7 +987,7 @@ static gboolean rspamd_send_normal_command (struct rspamd_connection *c, const gchar *command, gsize clen, GHashTable *headers, GError **err) { - static gchar outbuf[16384]; + gchar outbuf[16384]; GHashTableIter it; gpointer key, value; gint r; @@ -1035,7 +1035,7 @@ static gboolean rspamd_send_normal_command (struct rspamd_connection *c, const gchar *command, gsize clen, GHashTable *headers, GError **err) { - static gchar outbuf[16384]; + gchar outbuf[16384]; gint r; struct hash_iter_cb cbdata; @@ -1081,7 +1081,7 @@ static GString * rspamd_send_controller_command (struct rspamd_connection *c, const gchar *line, gsize len, gint fd, GError **err) { GString *res = NULL; - static gchar tmpbuf[BUFSIZ]; + gchar tmpbuf[BUFSIZ]; gint r = 0; static const gchar end_marker[] = "END\r\n"; |