From a6ef985df4a51c72dc9fc8bebbb9773098e702d6 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 31 Jul 2000 14:50:53 +0000 Subject: More work on rpcclient... * Fixed to work with Jeremy's recent changes re: dunamic memory allocation when unmarshalling unistr[2] * included EnumPorts level 1 * more work on AddPrinterEx --jerry (This used to be commit 45fbf31b698d6e754630590034cff712c0a716b1) --- source3/lib/cmd_interp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/lib/cmd_interp.c') diff --git a/source3/lib/cmd_interp.c b/source3/lib/cmd_interp.c index a029d0bbd2..5f7e98c243 100644 --- a/source3/lib/cmd_interp.c +++ b/source3/lib/cmd_interp.c @@ -221,7 +221,7 @@ help ****************************************************************************/ static uint32 cmd_help(struct client_info *info, int argc, char *argv[]) { - int i = 0, j = 0; + int i = 0; /* get help on a specific command */ if (argc > 0) @@ -1159,9 +1159,7 @@ static uint32 cmd_set(struct client_info *info, int argc, char *argv[]) srv_name, usr.ntc.user_name, usr.ntc.domain); report(out_hnd, "Connection:\t"); - if (cli_net_use_add(srv_name, &usr.ntc, info->reuse, - &isnew) - != NULL) + if (cli_net_use_add(srv_name, &usr.ntc, info->reuse, &isnew) != NULL) { report(out_hnd, "OK\n"); } -- cgit