so einfach ging's nicht. ich denk mir was anderes aus, glaub ich

This commit is contained in:
Enno Rehling 2004-04-18 23:25:16 +00:00
parent 2af1c0d478
commit d9edccf069
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ mt_new(const char * name, const char * args[])
message_type * mtype = (message_type *)malloc(sizeof(message_type)); message_type * mtype = (message_type *)malloc(sizeof(message_type));
assert(name!=NULL); assert(name!=NULL);
if (name!=NULL) { if (name==NULL) {
log_error(("Trying to create message_type with name=0x0\n")); log_error(("Trying to create message_type with name=0x0\n"));
return NULL; return NULL;
} }