From e7fa97b6aa202b57c479555d0af1884a5fce781e Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Mon, 17 Nov 2008 14:02:50 +0100 Subject: Revert "mount.cifs: have uppercase_string return success on NULL pointer" This reverts commit 3f4cdabc965f824b70891f6a6bcb29e5f9b579e5. --- source/client/mount.cifs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index bdad5ba32d7..56778dd4683 100644 --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -992,12 +992,12 @@ static struct option longopts[] = { }; /* convert a string to uppercase. return false if the string - * wasn't ASCII. Return success on a NULL ptr */ + * wasn't ASCII or was a NULL ptr */ static int uppercase_string(char *string) { if (!string) - return 1; + return 0; while (*string) { /* check for unicode */ -- cgit