From 741e8f3c20a06b0a9bfa8dfad418e18b130e7433 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 10 Aug 2011 18:01:34 +0400 Subject: [PATCH] Make buffers non-static. --- lib/librspamdclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librspamdclient.c b/lib/librspamdclient.c index 3fd021c114..55a9b13dce 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"; -- 2.47.3