X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bed6327e0962c95394b530b7b1ebc40e2af28320..1e54947d0c2fc6379b5bb9ef0e9e969a3c8f6204:/sbr/utils.c diff --git a/sbr/utils.c b/sbr/utils.c index fff1aacd..fbada4e6 100644 --- a/sbr/utils.c +++ b/sbr/utils.c @@ -481,15 +481,14 @@ nmh_version_changed (int older) { } return old_version < current_version ? 1 : 0; - } else { - if (context_version == NULL || strcmp(context_version, "nmh-" VERSION) != 0) { - context_replace ("Version", "nmh-" VERSION); + } - return 1; - } else { - return 0; - } + if (context_version == NULL || strcmp(context_version, "nmh-" VERSION) != 0) { + context_replace ("Version", "nmh-" VERSION); + return 1; } + + return 0; }