summaryrefslogtreecommitdiff
path: root/source3/client
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
commit8cec5cf35f17568009c70d37bb8b2a1f360d3422 (patch)
treefa7146c88d50687390a8a909571cc97b96d37485 /source3/client
parentd5a62df4c569e5f82186900c5770c59a5c384587 (diff)
downloadsamba-8cec5cf35f17568009c70d37bb8b2a1f360d3422.tar.gz
samba-8cec5cf35f17568009c70d37bb8b2a1f360d3422.tar.bz2
samba-8cec5cf35f17568009c70d37bb8b2a1f360d3422.zip
first step in converting the head branch to use lang_tdb.c instead
of gettext for internationalisation support. There is more to do (This used to be commit ab7f67677a1ade4669e5c2750d0a38422ea616a9)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c6
-rw-r--r--source3/client/clitar.c2
2 files changed, 5 insertions, 3 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;
}
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 0c99359dc3..64b035a89e 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -1382,7 +1382,7 @@ int cmd_setmode(void)
case 'a': attra[direct]|=aARCH;
break;
default: DEBUG(0, ("setmode <filename> <perm=[+|-]rsha>\n"));
- return;
+ return 1;
}
}