diff options
author | Gerald Carter <jerry@samba.org> | 2002-11-08 18:44:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-11-08 18:44:57 +0000 |
commit | 47035533781f49bd3cc1f4918c6b87c3904a02fe (patch) | |
tree | faa29a3d6f1d67488bccc6a292d33d4109dd604a /source3/lib | |
parent | 5565aa9972bc47ae903a3186ac643b4651f49928 (diff) | |
download | samba-47035533781f49bd3cc1f4918c6b87c3904a02fe.tar.gz samba-47035533781f49bd3cc1f4918c6b87c3904a02fe.tar.bz2 samba-47035533781f49bd3cc1f4918c6b87c3904a02fe.zip |
patches from Urban
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_unistr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c index eb47252413..8e41581f75 100644 --- a/source3/lib/util_unistr.c +++ b/source3/lib/util_unistr.c @@ -335,6 +335,8 @@ smb_ucs2_t *strchr_w(const smb_ucs2_t *s, smb_ucs2_t c) if (c == *s) return (smb_ucs2_t *)s; s++; } + if (c == *s) return (smb_ucs2_t *)s; + return NULL; } |