summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-11-10 15:21:54 +0000
committerSimo Sorce <idra@samba.org>2001-11-10 15:21:54 +0000
commit5d152d24a39386a7b595f9fc157d86dff38c39dc (patch)
treec85957ecebf7d74b82b9c79d0938e4ed35c4eecd /source3/smbd
parent461641d0de74fbf0317079c3a91aaa55f2e91796 (diff)
downloadsamba-5d152d24a39386a7b595f9fc157d86dff38c39dc.tar.gz
samba-5d152d24a39386a7b595f9fc157d86dff38c39dc.tar.bz2
samba-5d152d24a39386a7b595f9fc157d86dff38c39dc.zip
fixed, moved and added some functions
note the useful acnv_uxu2 and acnv_u2ux functions in charcnv.c (This used to be commit 64dde3b64fc091cda95fc4ed145595b5d79b2e01)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index aa5c49c126..44ffd155e4 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -253,7 +253,7 @@ smb_ucs2_t *mangle(const smb_ucs2_t *unmangled)
/* if it is a valid 8_3 do not mangle again */
if (NT_STATUS_IS_OK(is_8_3_w(unmangled)))
- return strdup_w(unmangled);
+ return NULL;
if (NT_STATUS_IS_ERR(mangle_get_prefix(unmangled, &umpref, &ext)))
return NULL;