summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 14:56:30 -0700
committerJeremy Allison <jra@samba.org>2011-05-06 00:57:00 +0200
commit9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a (patch)
tree90247f66882a6fd64604b7a45310364b6a9cfede /source3/client
parentf85e095dd29638dcb4819f60a7239bc37e8a41ca (diff)
downloadsamba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.tar.gz
samba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.tar.bz2
samba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.zip
More const fixes... getting near the end now.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/clitar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index efbe5ff47f..f04071f2dc 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -1291,7 +1291,7 @@ int cmd_block(void)
char *buf;
int block;
- if (!next_token_talloc(ctx, &cmd_ptr,&buf,NULL)) {
+ if (!next_token_talloc(ctx, (const char **)&cmd_ptr,&buf,NULL)) {
DEBUG(0, ("blocksize <n>\n"));
return 1;
}
@@ -1316,7 +1316,7 @@ int cmd_tarmode(void)
TALLOC_CTX *ctx = talloc_tos();
char *buf;
- while (next_token_talloc(ctx, &cmd_ptr,&buf,NULL)) {
+ while (next_token_talloc(ctx, (const char **)&cmd_ptr,&buf,NULL)) {
if (strequal(buf, "full"))
tar_inc=False;
else if (strequal(buf, "inc"))
@@ -1366,7 +1366,7 @@ int cmd_setmode(void)
attra[0] = attra[1] = 0;
- if (!next_token_talloc(ctx, &cmd_ptr,&buf,NULL)) {
+ if (!next_token_talloc(ctx, (const char **)&cmd_ptr,&buf,NULL)) {
DEBUG(0, ("setmode <filename> <[+|-]rsha>\n"));
return 1;
}
@@ -1379,7 +1379,7 @@ int cmd_setmode(void)
return 1;
}
- while (next_token_talloc(ctx, &cmd_ptr,&buf,NULL)) {
+ while (next_token_talloc(ctx, (const char **)&cmd_ptr,&buf,NULL)) {
q=buf;
while(*q) {
@@ -1481,7 +1481,7 @@ int cmd_tar(void)
int argcl = 0;
int ret;
- if (!next_token_talloc(ctx, &cmd_ptr,&buf,NULL)) {
+ if (!next_token_talloc(ctx, (const char **)&cmd_ptr,&buf,NULL)) {
DEBUG(0,("tar <c|x>[IXbgan] <filename>\n"));
return 1;
}