summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-07-31 14:50:53 +0000
committerGerald Carter <jerry@samba.org>2000-07-31 14:50:53 +0000
commita6ef985df4a51c72dc9fc8bebbb9773098e702d6 (patch)
treea82149c214a230df67c611ea2335b7af04ba633a /source3/lib
parentcf152386f6ffc16e52aeccf04b6c55eed3a6938a (diff)
downloadsamba-a6ef985df4a51c72dc9fc8bebbb9773098e702d6.tar.gz
samba-a6ef985df4a51c72dc9fc8bebbb9773098e702d6.tar.bz2
samba-a6ef985df4a51c72dc9fc8bebbb9773098e702d6.zip
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)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/cmd_interp.c6
1 files changed, 2 insertions, 4 deletions
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");
}