]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Style.
authorRoy Marples <roy@marples.name>
Mon, 19 May 2008 09:18:02 +0000 (09:18 +0000)
committerRoy Marples <roy@marples.name>
Mon, 19 May 2008 09:18:02 +0000 (09:18 +0000)
common.c

index 91fcd7a9ae6b6064e3ac693526b12cd9530c756b..184caa293da1fd5945e15b5cac2a54948b0882ee 100644 (file)
--- a/common.c
+++ b/common.c
@@ -67,7 +67,7 @@ get_line(char **line, size_t *len, FILE *fp)
                memset(p, 0, BUFSIZ);
                fgets(p, BUFSIZ, fp);
                last += strlen(p);
-       } while (! feof(fp) && (*line)[last - 1] != '\n');
+       } while (!feof(fp) && (*line)[last - 1] != '\n');
 
        /* Trim the trailing newline */
        if (**line && (*line)[last - 1] == '\n')
@@ -263,7 +263,7 @@ xstrdup(const char *str)
 {
        char *value;
 
-       if (! str)
+       if (!str)
                return NULL;
 
        if ((value = strdup(str)))