summaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-25 10:45:25 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-25 10:45:25 +0000
commit167abdb5b3fa6900edd6bbdb1cc7d586896a268c (patch)
treebed714a9789bd3f7bd2c86039dfdd4196471b85a /debug.c
parent5c686c8adcc473cbdbb14e4b2d736f9123210ee6 (diff)
downloadrsyslog-167abdb5b3fa6900edd6bbdb1cc7d586896a268c.tar.gz
rsyslog-167abdb5b3fa6900edd6bbdb1cc7d586896a268c.tar.xz
rsyslog-167abdb5b3fa6900edd6bbdb1cc7d586896a268c.zip
restructured queue shutdown so that the queue timeout is properly applied
before terminatiing the queue
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index e473504e..a3aa2b35 100644
--- a/debug.c
+++ b/debug.c
@@ -55,6 +55,7 @@ static int bPrintFuncDBOnExit = 0; /* shall the function entry and exit be logge
static char *pszAltDbgFileName = "/home/rger/proj/rsyslog/log"; /* if set, debug output is *also* sent to here */
static FILE *altdbg; /* and the handle for alternate debug output */
static FILE *stddbg;
+static dbgFuncDB_t pCurrFunc;
/* list of all known FuncDBs. We use a special list, because it must only be single-linked. As
@@ -653,7 +654,7 @@ sigsegvHdlr(int signum)
signame = "";
}
- dbgprintf("Signal %d%s occured, execution must be terminated %d.\n", signum, signame, SIGSEGV);
+ dbgprintf("\n\n\n\nSignal %d%s occured, execution must be terminated %d.\n\n\n\n", signum, signame, SIGSEGV);
dbgCallStackPrintAll();