aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-07-02 14:35:53 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-07-02 14:35:53 +0100
commit84e869eb4b74363b86c1da364e7063a82bc9375b (patch)
treee3669f1644f2743953d801dda0630de741ba92f4 /src/lua
parenta2e5eef9c9289013cc8e373bd385fe61e3b3451d (diff)
downloadrspamd-84e869eb4b74363b86c1da364e7063a82bc9375b.tar.gz
rspamd-84e869eb4b74363b86c1da364e7063a82bc9375b.zip
[Minor] Initialise variable
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c
index e839aba24..6391e4e11 100644
--- a/src/lua/lua_tcp.c
+++ b/src/lua/lua_tcp.c
@@ -1487,7 +1487,7 @@ lua_tcp_request (lua_State *L)
struct rspamd_task *task = NULL;
struct rspamd_config *cfg = NULL;
struct iovec *iov = NULL;
- struct upstream *up;
+ struct upstream *up = NULL;
guint niov = 0, total_out;
guint64 h;
gdouble timeout = default_tcp_timeout;