summaryrefslogtreecommitdiff
path: root/lib/ss/get_readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ss/get_readline.c')
-rw-r--r--lib/ss/get_readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ss/get_readline.c b/lib/ss/get_readline.c
index d9499e6d..b9754d89 100644
--- a/lib/ss/get_readline.c
+++ b/lib/ss/get_readline.c
@@ -50,7 +50,7 @@ void ss_get_readline(int sci_idx)
if (info->readline_handle)
return;
- libpath = getenv("SS_READLINE_PATH");
+ libpath = ss_safe_getenv("SS_READLINE_PATH");
if (!libpath)
libpath = DEFAULT_LIBPATH;
if (*libpath == 0 || !strcmp(libpath, "none"))