browse_fn: FIXME: If the remote machine returns non-ascii characters
authorMartin Pool <mbp@samba.org>
Thu, 10 Jan 2002 03:53:06 +0000 (03:53 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 10 Jan 2002 03:53:06 +0000 (03:53 +0000)
   in any of these fields, they can corrupt the output.  We
   should remove them.
(This used to be commit 934aacdb39a0c21c43505dbba696b746f1333df3)

source3/client/client.c

index f5f27474d994c7c821ce5ef0280aa5c053af4141..61a123b9e54fbd98010640995a2c4134815af125 100644 (file)
@@ -1751,6 +1751,9 @@ static void browse_fn(const char *name, uint32 m,
           case STYPE_IPC:
             fstrcpy(typestr,"IPC"); break;
         }
           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);
 }
        d_printf("\t%-15.15s%-10.10s%s\n",
                name,typestr,comment);
 }