diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 16 | ||||
-rw-r--r-- | source3/client/clitar.c | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index cdf33a14b3..6db0f4694e 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3787,10 +3787,12 @@ static BOOL list_servers(char *wk_grp) for (i=0;i<count;i++) { char *sname = p2; + uint32 stype = IVAL(p2,18); int comment_offset = IVAL(p2,22) & 0xFFFF; - printf("\t%-16.16s %s\n", - sname, - comment_offset?rdata+comment_offset-converter:""); + printf("\t%-16.16s %s (%8x)\n", + sname, + comment_offset?rdata+comment_offset-converter:"", + stype); ok=True; p2 += 26; @@ -3826,10 +3828,12 @@ static BOOL list_servers(char *wk_grp) for (i=0;i<count;i++) { char *sname = p2; + uint32 stype = IVAL(p2,18); int comment_offset = IVAL(p2,22) & 0xFFFF; - printf("\t%-16.16s %s\n", - sname, - comment_offset?rdata+comment_offset-converter:""); + printf("\t%-16.16s %s (%8x)\n", + sname, + comment_offset?rdata+comment_offset-converter:"", + stype); ok=True; p2 += 26; diff --git a/source3/client/clitar.c b/source3/client/clitar.c index a4c1f00adf..13df5fef9a 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -374,7 +374,7 @@ static long unoct(char *p, int ndgs) /**************************************************************************** Compare two strings in a slash insensitive way ***************************************************************************/ -int strslashcmp(const char *s1, const char *s2) +int strslashcmp(char *s1,char *s2) { while(*s1 && *s2 && (*s1 == *s2 |