From: Vsevolod Stakhov Date: Sat, 24 Nov 2018 13:40:30 +0000 (+0000) Subject: [Minor] Use empty prompt instead of NULL X-Git-Tag: 1.8.3~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d01688d6aabc2d51fd52c640c21265a7fd8e3bdc;p=thirdparty%2Frspamd.git [Minor] Use empty prompt instead of NULL Issue: #2591 --- diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 0e61d6e849..9ed095c34d 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -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) {