]> diplodocus.org Git - nmh/blobdiff - uip/post.c
Split gcov target into multiple sub-targets.
[nmh] / uip / post.c
index fca85f7b5e92c72553a8f59b7fa04e8b2cf885f3..bf1c042db6276a058440936459f41e4138071c33 100644 (file)
@@ -1041,7 +1041,7 @@ putfmt (char *name, char *str, int *eai, FILE *out)
         * Strip off any trailing newlines
         */
 
-       while (strlen(fullfrom) > 0 && fullfrom[strlen(fullfrom) - 1] == '\n') {
+       while (*fullfrom && fullfrom[strlen(fullfrom) - 1] == '\n') {
            fullfrom[strlen(fullfrom) - 1] = '\0';
        }
     }