summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-11-10 10:40:44 +0100
committerDavid Sommerseth <davids@redhat.com>2009-11-10 10:40:44 +0100
commite4d70435fd04ee68af09047011cd96aebd8f85ad (patch)
treec0e82562a9bdeb7e984af093607a94d2d6b92809 /server
parentea59cb6ca1b078af6a33d4c513ff4559197a362a (diff)
downloadrteval-e4d70435fd04ee68af09047011cd96aebd8f85ad.tar.gz
rteval-e4d70435fd04ee68af09047011cd96aebd8f85ad.tar.xz
rteval-e4d70435fd04ee68af09047011cd96aebd8f85ad.zip
Fixed a misleading log message during shutdown and a tiny memleak
Diffstat (limited to 'server')
-rw-r--r--server/parser/rteval_parserd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/parser/rteval_parserd.c b/server/parser/rteval_parserd.c
index ddd7b6a..f8b0b21 100644
--- a/server/parser/rteval_parserd.c
+++ b/server/parser/rteval_parserd.c
@@ -216,9 +216,8 @@ int process_submission_queue(dbconn *dbc, mqd_t msgq, int *activethreads) {
res = mq_send(msgq, (char *) job, sizeof(parseJob_t), 1);
if( (res < 0) && (errno != EAGAIN) ) {
writelog(dbc->log, LOG_EMERG,
- "Could not send parse job to the queue. "
- "Shutting down!");
- shutdown = 1;
+ "Could not send shutdown notification to the queue.");
+ free_nullsafe(job);
return rc;
} else if( errno == EAGAIN ) {
writelog(dbc->log, LOG_WARNING,