Fixed broken NULL pointer check.

This commit is contained in:
Armin Novak 2014-12-07 00:21:28 +01:00
parent 84bccaf3fc
commit f676c48a2f

View File

@ -109,7 +109,7 @@ int WLog_CallbackAppender_WriteImageMessage(wLog* log, wLogCallbackAppender* app
int WLog_CallbackAppender_WritePacketMessage(wLog* log, wLogCallbackAppender* appender, wLogMessage* message) int WLog_CallbackAppender_WritePacketMessage(wLog* log, wLogCallbackAppender* appender, wLogMessage* message)
{ {
if (!appender->package) if (appender->package)
{ {
appender->package(message); appender->package(message);
} }