Explorar o código

Merge pull request #628 from ryankopf/master

Function abort_process is not defined unless we are using timers.
bel2125 %!s(int64=7) %!d(string=hai) anos
pai
achega
12f149fa64
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

@@ -11103,7 +11103,9 @@ done:
 
 #if defined(USE_TIMERS)
 	if (pid != (pid_t)-1) {
+#if defined(USE_TIMERS)
 		abort_process((void *)pid);
+#endif
 	}
 #endif /* USE_TIMERS */
 	if (fdin[0] != -1) {