forked from github/server
so einfach ging's nicht. ich denk mir was anderes aus, glaub ich
This commit is contained in:
parent
2af1c0d478
commit
d9edccf069
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue