diff options
| author | Roy Marples <roy@marples.name> | 2008-05-19 09:18:02 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-05-19 09:18:02 +0000 |
| commit | 37305c908cac2f8489ed6fa0cff401804452485f (patch) | |
| tree | d7d29a2d35bcc32e33e3653f83faf34c5d6ccee5 /common.c | |
| parent | 32391c95110f44cd7dd0245221c21b7e0d7e5d5a (diff) | |
| download | dhcpcd-37305c908cac2f8489ed6fa0cff401804452485f.tar.xz | |
Style.
Diffstat (limited to 'common.c')
| -rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))) |
