Fix mistake in debug STRDCBSTATE()

This commit is contained in:
counterpoint
2015-08-25 09:31:54 +01:00
parent f18f233de2
commit d27ffcf06a
2 changed files with 3 additions and 5 deletions

View File

@ -471,9 +471,7 @@ DCB *dcb = NULL;
previousdcb->memdata.next = zombiedcb->memdata.next;
}
if (LOG_IS_ENABLED(LD))
{
(skygw_log_write_flush(
LOGIF(LD, (skygw_log_write_flush(
LOGFILE_DEBUG,
"%lu [%s] Remove dcb "
"%p fd %d in state %s from the "
@ -482,7 +480,7 @@ DCB *dcb = NULL;
__func__,
zombiedcb,
zombiedcb->fd,
STRDCBSTATE(zombiedcb->state)));
STRDCBSTATE(zombiedcb->state))));
}
/*<
* Move zombie dcb to linked list of victim dcbs.