diff options
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sftp-server.c b/sftp-server.c index 79ef45b10..e11a1b89b 100644 --- a/sftp-server.c +++ b/sftp-server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-server.c,v 1.108 2015/11/16 06:13:04 logan Exp $ */ | 1 | /* $OpenBSD: sftp-server.c,v 1.109 2016/02/15 09:47:49 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -1513,6 +1513,7 @@ sftp_server_main(int argc, char **argv, struct passwd *user_pw) | |||
1513 | extern char *optarg; | 1513 | extern char *optarg; |
1514 | extern char *__progname; | 1514 | extern char *__progname; |
1515 | 1515 | ||
1516 | ssh_malloc_init(); /* must be called before any mallocs */ | ||
1516 | __progname = ssh_get_progname(argv[0]); | 1517 | __progname = ssh_get_progname(argv[0]); |
1517 | log_init(__progname, log_level, log_facility, log_stderr); | 1518 | log_init(__progname, log_level, log_facility, log_stderr); |
1518 | 1519 | ||