From 24528cedaf86c4e43770723ac2363074fdae8fda Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 24 May 2006 13:51:23 +0000 Subject: [PATCH] Fixed incorrect indication on HUP signal. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1991 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_signal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zm_signal.cpp b/src/zm_signal.cpp index 960f77866..14c0e2a2f 100644 --- a/src/zm_signal.cpp +++ b/src/zm_signal.cpp @@ -29,9 +29,9 @@ RETSIGTYPE zm_hup_handler( int signal ) { #if HAVE_DECL_STRSIGNAL char * error = strsignal(signal); - size_t errorStringSize = strlen(error) + strlen("Got signal (), exiting."); + size_t errorStringSize = strlen(error) + strlen("Got signal (), reloading."); char * errorString =(char *) malloc(errorStringSize + 1); // plus 1 for termination char. - (void) snprintf(errorString, errorStringSize, "Got signal (%s), exiting.", error); + (void) snprintf(errorString, errorStringSize, "Got signal (%s), reloading.", error); Info(( (const char *)errorString )); free(errorString);