summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-10-10 07:51:20 +0000
committerSimo Sorce <idra@samba.org>2001-10-10 07:51:20 +0000
commite1e689debc76f3029dabdf30c20b6cd831273128 (patch)
tree361bc5c45c20ab2b3b069a330462b2c7c3921ab0 /source3/client
parent89731dce4a84e840b384fc4c5d21e3f10cfb8d39 (diff)
downloadsamba-e1e689debc76f3029dabdf30c20b6cd831273128.tar.gz
samba-e1e689debc76f3029dabdf30c20b6cd831273128.tar.bz2
samba-e1e689debc76f3029dabdf30c20b6cd831273128.zip
ops, remove my test code, sorry.
fix some return codes missed in previous commit. (This used to be commit de70a56e04d68dd3d4f8074118c141bafe201686)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 47261af2e2..293aaf308b 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -772,7 +772,7 @@ static int cmd_get(void)
if (!next_token_nr(NULL,p,NULL,sizeof(rname)-strlen(rname))) {
d_printf("get <filename>\n");
- return;
+ return 1;
}
pstrcpy(lname,p);
dos_clean_name(rname);
@@ -1393,7 +1393,7 @@ static int cmd_print(void)
if (!next_token_nr(NULL,lname,NULL, sizeof(lname))) {
d_printf("print <filename>\n");
- return;
+ return 1;
}
pstrcpy(rname,lname);
@@ -1462,7 +1462,7 @@ static int cmd_del(void)
if (!next_token_nr(NULL,buf,NULL,sizeof(buf))) {
d_printf("del <filename>\n");
- return;
+ return 1;
}
pstrcat(mask,buf);
@@ -1553,7 +1553,7 @@ static int cmd_prompt(void)
prompt = !prompt;
DEBUG(2,("prompting is now %s\n",prompt?"on":"off"));
- return;
+ return 1;
}
@@ -2647,11 +2647,7 @@ static int do_message_op(void)
io_bufsize = MAX(1, atoi(optarg));
break;
default:
-
- printf("########## mangle test code ###########\n");
- mangle_test_code();
-
- /* usage(pname);*/
+ usage(pname);
exit(1);
}
}