]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Typo.
authorRoy Marples <roy@marples.name>
Tue, 16 Dec 2008 16:31:38 +0000 (16:31 +0000)
committerRoy Marples <roy@marples.name>
Tue, 16 Dec 2008 16:31:38 +0000 (16:31 +0000)
common.c

index ed311c9747cca5b2f2e5027c89b561b2cc461f94..b13b467cfd5d99687b0bfdc2b8a7443569f5549e 100644 (file)
--- 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)