summaryrefslogtreecommitdiff
path: root/source3/lib/util_unistr.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-02-20 08:09:06 +0000
committerAndrew Tridgell <tridge@samba.org>2001-02-20 08:09:06 +0000
commit6492d6b2f6a2743f5e794447911cbbba7e031d5d (patch)
treea9a9f4b60af0cf57bc947b3967265248a80e2490 /source3/lib/util_unistr.c
parentd62754e9487d62bf11bc0a4970a1bca2dd5d6727 (diff)
downloadsamba-6492d6b2f6a2743f5e794447911cbbba7e031d5d.tar.gz
samba-6492d6b2f6a2743f5e794447911cbbba7e031d5d.tar.bz2
samba-6492d6b2f6a2743f5e794447911cbbba7e031d5d.zip
initial client side unicode support (needed for netapp filer)
I've currently got this code disabled by default as it is incomplete. You enable it by setting a USE_UNICODE environment variable. Once the support is complete this check will be removed and the CAP_UNICODE capability bit will be the sole determination of whether the client library code uses unicode right now I have converted session_setup and tconx. I will do more fns over the next few days. see clistr.c for the new client side string interface. Luckily it tends to make the code smaller and neater while adding unicode support. (This used to be commit e1a04e621f1c28d8e6e543d43741ca0272e2237f)
Diffstat (limited to 'source3/lib/util_unistr.c')
-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 8661f724fe..3cbbc6f2da 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -852,7 +852,7 @@ size_t strlen_w(const smb_ucs2_t *src)
{
size_t len;
- for(len = 0; *src; len++)
+ for(len = 0; *src++; len++)
;
return len;