]> diplodocus.org Git - nmh/blobdiff - uip/replsbr.c
Alter HasSuffixC()'s char * to be const.
[nmh] / uip / replsbr.c
index 90252fe0da4ca366eeba22aa73e16606d2bb79aa..a9a659696ce147e52553e856d65079ff559148eb 100644 (file)
@@ -609,8 +609,7 @@ fix_addresses (char *str) {
 
     if (fixed_address) {
         return fixed_str;
-    } else {
-        free (fixed_str);
-        return str  ?  strdup (str)  :  NULL;
     }
+    free (fixed_str);
+    return str  ?  strdup (str)  :  NULL;
 }