Commit ca7db4fc authored by Mike Gabriel's avatar Mike Gabriel

nxcomp/src/Loop.cpp: Rename local variable 'handler' to 'signalHandler'.

parent 1e15760a
......@@ -64,7 +64,7 @@
extern Keeper *keeper;
extern int (*handler)(int);
extern int (*signalHandler)(int);
extern int useUnixSocket;
......@@ -792,7 +792,7 @@ int NXTransKeeper(int caches, int images, const char *root)
keeper = new Keeper(caches, images, root, 100, parent);
handler = NXTransKeeperHandler;
signalHandler = NXTransKeeperHandler;
if (keeper == NULL)
{
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment