summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-07 01:15:07 +0000
committerJeremy Allison <jra@samba.org>2000-10-07 01:15:07 +0000
commit8582d426467e715a912ef06c13bdbbdeb9000739 (patch)
treef6b8f91facd78b9ce725ef1be2bc0cae0c2d78f3 /source3/libsmb
parent5d4f5cdddc23819bfab0961a013ed5593b2b2d30 (diff)
downloadsamba-8582d426467e715a912ef06c13bdbbdeb9000739.tar.gz
samba-8582d426467e715a912ef06c13bdbbdeb9000739.tar.bz2
samba-8582d426467e715a912ef06c13bdbbdeb9000739.zip
Ensure browse.dat is written and read in UNIX character set format.
Jeremy. (This used to be commit 279d0ec656b03f9266e38b013f16b69e7571c0d5)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 5e7e9427f6..085b1c35bb 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -237,6 +237,7 @@ BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
p += 4;
pstrcpy(p, workgroup);
+ unix_to_dos(p, True);
p = skip_string(p,1);
if (cli_api(cli,