X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f1c5e5fde4f706bb40af755572c0cad49ca81729..665dfc96f45c47ecfae79f1baa2c29dabe5a2ded:/sbr/message_id.c diff --git a/sbr/message_id.c b/sbr/message_id.c index c20bc1c3..8c138665 100644 --- a/sbr/message_id.c +++ b/sbr/message_id.c @@ -1,5 +1,4 @@ -/* - * message-id.c -- construct the body of a Message-ID or Content-ID +/* message_id.c -- construct the body of a Message-ID or Content-ID * header field * * This code is Copyright (c) 2012, by the authors of nmh. See the @@ -24,12 +23,12 @@ save_message_id_style (const char *value) { if (! strcasecmp (value, "localname")) { message_id_style = NMH_MESSAGE_ID_LOCALNAME; return 0; - } else if (! strcasecmp (value, "random")) { + } + if (! strcasecmp (value, "random")) { message_id_style = NMH_MESSAGE_ID_RANDOM; return 0; - } else { - return 1; } + return 1; }