git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b137b7c
)
r6230: don't know how this ever worked! the compiler complained we
author
Herb Lewis
<herb@samba.org>
Wed, 6 Apr 2005 23:50:48 +0000
(23:50 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:30 +0000
(10:56 -0500)
were comparing an integer to a pointer and it was right.
(This used to be commit
b6117dd72de1f2a8e158d1a5f2b2991ef93deb72
)
source3/lib/util_unistr.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_unistr.c
b/source3/lib/util_unistr.c
index 0b4552e1f5d918b0046cee8a534e0182a4f60384..7cbae30ced0dca1c6bb0d80196c30b64f2a67417 100644
(file)
--- 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);
}