]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Use empty prompt instead of NULL
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 24 Nov 2018 13:40:30 +0000 (13:40 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 24 Nov 2018 13:40:30 +0000 (13:40 +0000)
Issue: #2591

src/lua/lua_util.c

index 0e61d6e849ee5b0940abc6341ea596b2560b2698..9ed095c34d22c427b859377a652508aff7c80a2c 100644 (file)
@@ -2458,7 +2458,7 @@ static gint
 lua_util_readline (lua_State *L)
 {
        LUA_TRACE_POINT;
-       const gchar *prompt = NULL;
+       const gchar *prompt = "";
        gchar *input;
 
        if (lua_type (L, 1) == LUA_TSTRING) {