summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-10 03:53:06 +0000
committerMartin Pool <mbp@samba.org>2002-01-10 03:53:06 +0000
commitb8b7ab052a305508eded8e6e32fb954aa9851612 (patch)
treefffed7f644b72b446defef3be292f6f0e223e06e /source3
parenta36c10bd1e801228a002b2cdbecfe1fb6c3181a2 (diff)
downloadsamba-b8b7ab052a305508eded8e6e32fb954aa9851612.tar.gz
samba-b8b7ab052a305508eded8e6e32fb954aa9851612.tar.bz2
samba-b8b7ab052a305508eded8e6e32fb954aa9851612.zip
browse_fn: FIXME: If the remote machine returns non-ascii characters
in any of these fields, they can corrupt the output. We should remove them. (This used to be commit 934aacdb39a0c21c43505dbba696b746f1333df3)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f5f27474d9..61a123b9e5 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1751,6 +1751,9 @@ static void browse_fn(const char *name, uint32 m,
case STYPE_IPC:
fstrcpy(typestr,"IPC"); break;
}
+ /* FIXME: If the remote machine returns non-ascii characters
+ in any of these fields, they can corrupt the output. We
+ should remove them. */
d_printf("\t%-15.15s%-10.10s%s\n",
name,typestr,comment);
}