diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-24 13:40:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-24 13:40:30 +0000 |
commit | d01688d6aabc2d51fd52c640c21265a7fd8e3bdc (patch) | |
tree | 6ff74d94d39a13000dba3aced0bf3e6eac7b6477 /src | |
parent | ccbc89bc154ee1dd316b315feb4c6ae6a3fab66a (diff) | |
download | rspamd-d01688d6aabc2d51fd52c640c21265a7fd8e3bdc.tar.gz rspamd-d01688d6aabc2d51fd52c640c21265a7fd8e3bdc.zip |
[Minor] Use empty prompt instead of NULL
Issue: #2591
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 0e61d6e84..9ed095c34 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) { |