summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-04-06 23:50:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:30 -0500
commitbe0c01da4ce805440638ec7b0b06c4279bc59d6a (patch)
tree0979b1ae037e4b4b9f67a81ef562fc8ce2e9b80e /source3
parentb137b7cc4720ca9d99eab2bb198be1b112c2e24c (diff)
downloadsamba-be0c01da4ce805440638ec7b0b06c4279bc59d6a.tar.gz
samba-be0c01da4ce805440638ec7b0b06c4279bc59d6a.tar.bz2
samba-be0c01da4ce805440638ec7b0b06c4279bc59d6a.zip
r6230: don't know how this ever worked! the compiler complained we
were comparing an integer to a pointer and it was right. (This used to be commit b6117dd72de1f2a8e158d1a5f2b2991ef93deb72)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 0b4552e1f5..7cbae30ced 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/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);
}