summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp.c b/sftp.c
index af6e3a69a..2b8fdabfb 100644
--- a/sftp.c
+++ b/sftp.c
@@ -2272,7 +2272,7 @@ main(int argc, char **argv)
2272 ssh_malloc_init(); /* must be called before any mallocs */ 2272 ssh_malloc_init(); /* must be called before any mallocs */
2273 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ 2273 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
2274 sanitise_stdfd(); 2274 sanitise_stdfd();
2275 setlocale(LC_CTYPE, ""); 2275 msetlocale();
2276 2276
2277 __progname = ssh_get_progname(argv[0]); 2277 __progname = ssh_get_progname(argv[0]);
2278 memset(&args, '\0', sizeof(args)); 2278 memset(&args, '\0', sizeof(args));