diff options
author | Herb Lewis <herb@samba.org> | 2005-04-06 23:50:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:30 -0500 |
commit | b6117dd72de1f2a8e158d1a5f2b2991ef93deb72 (patch) | |
tree | 4a9c147cd13900083fbdb4eda683a5ed0ae0b0df /source | |
parent | efb3ac4c69c72c0fa01c558951fa357893562bce (diff) | |
download | samba-b6117dd72de1f2a8e158d1a5f2b2991ef93deb72.tar.gz samba-b6117dd72de1f2a8e158d1a5f2b2991ef93deb72.tar.xz samba-b6117dd72de1f2a8e158d1a5f2b2991ef93deb72.zip |
r6230: don't know how this ever worked! the compiler complained we
were comparing an integer to a pointer and it was right.
Diffstat (limited to 'source')
-rw-r--r-- | source/lib/util_unistr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_unistr.c b/source/lib/util_unistr.c index 0b4552e1f5d..7cbae30ced0 100644 --- a/source/lib/util_unistr.c +++ b/source/lib/util_unistr.c @@ -113,7 +113,7 @@ static int check_dos_char_slowly(smb_ucs2_t c) if (len1 == 0) return 0; len2 = convert_string(CH_DOS, CH_UCS2, buf, len1, &c2, 2,False); if (len2 != 2) return 0; - return (c == c2); + return (c == *c2); } |