summaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-12-16 16:31:38 +0000
committerRoy Marples <roy@marples.name>2008-12-16 16:31:38 +0000
commit63bce4d48e5f0e3ad04ff79d402c74aea6bdd88f (patch)
tree962f94e6adb9a593f264eb8774ef8bb34afc3418 /common.c
parent2276d96c27a1a454f7871b2d172fb9b3a38128c1 (diff)
downloaddhcpcd-63bce4d48e5f0e3ad04ff79d402c74aea6bdd88f.tar.xz
Typo.
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.c b/common.c
index ed311c97..b13b467c 100644
--- a/common.c
+++ b/common.c
@@ -330,7 +330,7 @@ xstrdup(const char *str)
{
char *value;
- if (str = NULL)
+ if (str == NULL)
return NULL;
if ((value = strdup(str)) != NULL)