From ca7db4fcb09695b4fe1616e520ca417a4e2455fc Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 12 Jul 2017 21:42:46 +0200 Subject: nxcomp/src/Loop.cpp: Rename local variable 'handler' to 'signalHandler'. --- nxcomp/src/Loop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nxcomp/src/Loop.cpp') diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp index 6adb2453e..3dc6f4ec5 100644 --- a/nxcomp/src/Loop.cpp +++ b/nxcomp/src/Loop.cpp @@ -331,7 +331,7 @@ Keeper *keeper = NULL; // to be notified about signals. // -int (*handler)(int) = NULL; +int (*signalHandler)(int) = NULL; // // Signal handling functions (that are not already mentioned in Misc.h). @@ -5999,7 +5999,7 @@ void HandleSignal(int signal) #endif - if (getpid() != lastProxy && handler != NULL) + if (getpid() != lastProxy && signalHandler != NULL) { #if defined(UNSAFE) && (defined(TEST) || defined(INFO)) *logofs << "Loop: Calling slave handler in process " @@ -6007,7 +6007,7 @@ void HandleSignal(int signal) << logofs_flush; #endif - if ((*handler)(signal) == 0) + if ((*signalHandler)(signal) == 0) { return; } -- cgit v1.2.3