diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-24 13:58:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-24 13:58:40 +0000 |
commit | 0ebb29e032f2cdbfdb55184c0b97fd1f71b84609 (patch) | |
tree | 6f8b5a4b168dd2f9f1208848d2968d6af2a37a5e /source3 | |
parent | 3c63b841cc8dd4d66ac31522c7e9aa44142b3e9c (diff) | |
download | samba-0ebb29e032f2cdbfdb55184c0b97fd1f71b84609.tar.gz samba-0ebb29e032f2cdbfdb55184c0b97fd1f71b84609.tar.bz2 samba-0ebb29e032f2cdbfdb55184c0b97fd1f71b84609.zip |
removed unused function
(This used to be commit ad7afbfdea600a62fa1550bd354996ad38807533)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/mangle.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c index 1b7f9d0c05..cfa2792395 100644 --- a/source3/smbd/mangle.c +++ b/source3/smbd/mangle.c @@ -64,24 +64,6 @@ BOOL init_mangle_tdb(void) return True; } -/* trasform a dos charset string in a terminated unicode string */ -static int dos_to_ucs2(void *dest, const char *src, int dest_len) -{ - int len=0; - int src_len = strlen(src) + 1; - - /* treat a pstring as "unlimited" length */ - if (dest_len == -1) { - dest_len = sizeof(pstring); - } - - /* ucs2 is always a multiple of 2 bytes */ - dest_len &= ~1; - - len = convert_string(CH_DOS, CH_UCS2, src, src_len, dest, dest_len); - return len; -} - /* trasform a unicode string into a dos charset string */ static int ucs2_to_dos(char *dest, const smb_ucs2_t *src, int dest_len) { |