summaryrefslogtreecommitdiffstats
path: root/source/msdfs
diff options
context:
space:
mode:
Diffstat (limited to 'source/msdfs')
-rw-r--r--source/msdfs/msdfs.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/msdfs/msdfs.c b/source/msdfs/msdfs.c
index f1b19dfe02e..aadc63f04e0 100644
--- a/source/msdfs/msdfs.c
+++ b/source/msdfs/msdfs.c
@@ -438,19 +438,3 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
}
#endif
-
-/* Trivial fn that chops off upper bytes to convert unicode to dos */
-void unistr_to_dos(char* dst,char* src)
-{
- pstring s;
- int i=0;
-
- for(i=0;SVAL(src,i*2) && i<1024;i++)
- {
- s[i]= SVAL(src,i*2) & 0xff;
- }
- s[i]=0;
-
- safe_strcpy(dst,s,1024);
- DEBUG(10,("converted unistring to %s\n",s));
-}