From d9edccf06980f3c47420c7de1cba0435ffa42d07 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 18 Apr 2004 23:25:16 +0000 Subject: [PATCH] so einfach ging's nicht. ich denk mir was anderes aus, glaub ich --- src/common/util/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/util/message.c b/src/common/util/message.c index 3a517264b..1dcaa20a3 100644 --- a/src/common/util/message.c +++ b/src/common/util/message.c @@ -37,7 +37,7 @@ mt_new(const char * name, const char * args[]) message_type * mtype = (message_type *)malloc(sizeof(message_type)); assert(name!=NULL); - if (name!=NULL) { + if (name==NULL) { log_error(("Trying to create message_type with name=0x0\n")); return NULL; }