]> diplodocus.org Git - nmh/blobdiff - sbr/utils.c
Assume POSIX ctype.h; don't vet tolower()'s parameter.
[nmh] / sbr / utils.c
index fff1aacd64debbaf62c4165c17fe2dc0214f436b..fbada4e6aa54d46c7ae4c6be436ea2ed7a3a0313 100644 (file)
@@ -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;
 }