X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=message.c;h=403253d96db4c1d87e9b51850cd9f679fd175e7e;hp=ff0d70c9505e94d16a06a544e1a25a5e12bcf523;hb=e9bfe48fc5254e79e59c6ffc1698912175edf4e3;hpb=ffc0151b1258b604999b1b1ce9cc68268a908dbf diff --git a/message.c b/message.c index ff0d70c..403253d 100644 --- a/message.c +++ b/message.c @@ -37,8 +37,7 @@ struct lcr_msg *message_create(int id_from, int id_to, int flow, int type) /* attaches a message to the end of the message chain */ void message_put(struct lcr_msg *message) { - if (message->id_to == 0) - { + if (message->id_to == 0) { PDEBUG(DEBUG_MSG, "message %s not written, because destination is 0.\n", messages_txt[message->type]); message_free(message); return; @@ -77,9 +76,7 @@ struct lcr_msg *message_get(void) struct lcr_msg *message; if (!message_first) - { return(0); - } message = message_first; message_first = message->next;