From 26787225c1e7f9fba4d93ce2248a1a0995ccc574 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 21 Jun 2014 18:41:49 +0200 Subject: [PATCH] Fix build error on Windows --- src/ChangeLog | 5 +++++ src/mswindows.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index cc0a28d7..c96e503e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-06-21 Giuseppe Scrivano + + * mswindows.c (fake_fork_child): Fix build error. + Reported by: Gisle Vanem . + 2014-06-21 Nikita Vetrov (tiny change) * openssl.c: Add one-time call OPENSSL_config in ssl_init. diff --git a/src/mswindows.c b/src/mswindows.c index 0a0a8682..9cbc94b2 100644 --- a/src/mswindows.c +++ b/src/mswindows.c @@ -165,7 +165,8 @@ fake_fork_child (void) if (new_log_fp) { info->logfile_changed = true; - snprintf (info->filename, sizeof (info->lfilename), "%s", opt.lfilename); + snprintf (info->lfilename, sizeof (info->lfilename), "%s", + opt.lfilename); fclose (new_log_fp); } }