summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-10-11 08:40:42 +0000
committerAndrew Tridgell <tridge@samba.org>2001-10-11 08:40:42 +0000
commitab7f67677a1ade4669e5c2750d0a38422ea616a9 (patch)
treea85c58f853a6e2c08c9d5d9843cdaeee78f15d56 /source/client/client.c
parent13d168f13f07ad36407d5c7eebe078d956fbc22e (diff)
downloadsamba-ab7f67677a1ade4669e5c2750d0a38422ea616a9.tar.gz
samba-ab7f67677a1ade4669e5c2750d0a38422ea616a9.tar.xz
samba-ab7f67677a1ade4669e5c2750d0a38422ea616a9.zip
first step in converting the head branch to use lang_tdb.c instead
of gettext for internationalisation support. There is more to do
Diffstat (limited to 'source/client/client.c')
-rw-r--r--source/client/client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 2cdc3ee6eca..dfcb3d9616c 100644
--- a/source/client/client.c
+++ b/source/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;
}