summaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-19 09:18:02 +0000
committerRoy Marples <roy@marples.name>2008-05-19 09:18:02 +0000
commit37305c908cac2f8489ed6fa0cff401804452485f (patch)
treed7d29a2d35bcc32e33e3653f83faf34c5d6ccee5 /common.c
parent32391c95110f44cd7dd0245221c21b7e0d7e5d5a (diff)
downloaddhcpcd-37305c908cac2f8489ed6fa0cff401804452485f.tar.xz
Style.
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.c b/common.c
index 91fcd7a9..184caa29 100644
--- 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)))