diff options
Diffstat (limited to 'lib/strcase.c')
-rw-r--r-- | lib/strcase.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strcase.c b/lib/strcase.c index a750f7b4d..a74a4be57 100644 --- a/lib/strcase.c +++ b/lib/strcase.c @@ -125,9 +125,9 @@ int Curl_safe_strcasecompare(const char *first, const char *second) if(first && second) /* both pointers point to something then compare them */ return Curl_strcasecompare(first, second); - else - /* if both pointers are NULL then treat them as equal */ - return (NULL == first && NULL == second); + + /* if both pointers are NULL then treat them as equal */ + return (NULL == first && NULL == second); } /* |