From a8231b42f8f25b96128d67df2187ca9f649f6984 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Sat, 4 Apr 2015 18:28:13 +0000 Subject: [PATCH] #5910: Fix autotools build (#2) and workaround MSVC bug --- daemon/Makefile.am | 2 +- daemon/daemon-win32.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/daemon/Makefile.am b/daemon/Makefile.am index cedca9ee6..fc0b7b199 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -35,7 +35,7 @@ LDADD = \ ${LIBM} noinst_HEADERS = \ - daemon.h + daemon.h \ watch.h transmission_daemon_SOURCES = daemon.c watch.c diff --git a/daemon/daemon-win32.c b/daemon/daemon-win32.c index 4b66fce0c..cedbb21d7 100644 --- a/daemon/daemon-win32.c +++ b/daemon/daemon-win32.c @@ -130,7 +130,9 @@ static void stop_service (void) { if (service_stop_thread != NULL) - return; + { + return; + } const DWORD wait_time = 30 * 1000;