summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-01-04 11:35:55 +0000
committerRichard Sharpe <sharpe@samba.org>2001-01-04 11:35:55 +0000
commit92ebc81734a8a4165f88eeba9c05a05ea2917584 (patch)
tree278055c9e2d894178e6ce36b418e04399f46b264 /source3/utils
parentb6cb83d0d11cdea2fed06f63dffa48f4ed22d290 (diff)
downloadsamba-92ebc81734a8a4165f88eeba9c05a05ea2917584.tar.gz
samba-92ebc81734a8a4165f88eeba9c05a05ea2917584.tar.bz2
samba-92ebc81734a8a4165f88eeba9c05a05ea2917584.zip
I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I had
to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK. (This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/torture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index cd348f67fd..fc917702d3 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -1690,7 +1690,7 @@ static void run_randomipc(int dummy)
static void browse_callback(const char *sname, uint32 stype,
- const char *comment)
+ const char *comment, void *state)
{
printf("\t%20.20s %08x %s\n", sname, stype, comment);
}
@@ -1714,12 +1714,12 @@ static void run_browsetest(int dummy)
printf("domain list:\n");
cli_NetServerEnum(&cli, cli.server_domain,
SV_TYPE_DOMAIN_ENUM,
- browse_callback);
+ browse_callback, NULL);
printf("machine list:\n");
cli_NetServerEnum(&cli, cli.server_domain,
SV_TYPE_ALL,
- browse_callback);
+ browse_callback, NULL);
close_connection(&cli);