summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 2cdc3ee6ec..dfcb3d9616 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1019,7 +1019,7 @@ static int cmd_mkdir(void)
/****************************************************************************
show alt name
****************************************************************************/
-static void cmd_altname(void)
+static int cmd_altname(void)
{
pstring name;
fstring buf;
@@ -1029,11 +1029,13 @@ static void cmd_altname(void)
if (!next_token_nr(NULL,p,NULL,sizeof(buf))) {
d_printf("altname <file>\n");
- return;
+ return 1;
}
pstrcat(name,p);
do_altname(name);
+
+ return 0;
}