mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r3327: fixed another warning
we're now down the the last few warnings. Most are enum warnings
caused by unfinished code (unhandled enum levels). If you want to get
rid of those then work on finishing that code.
(This used to be commit b62f7bb971
)
This commit is contained in:
parent
428d9f7c61
commit
8004eac37f
@ -1441,19 +1441,19 @@ int cmd_setmode(const char **cmd_ptr)
|
||||
/****************************************************************************
|
||||
Principal command for creating / extracting
|
||||
***************************************************************************/
|
||||
int cmd_tar(char **cmd_ptr)
|
||||
int cmd_tar(const char **cmd_ptr)
|
||||
{
|
||||
fstring buf;
|
||||
char **argl;
|
||||
int argcl;
|
||||
|
||||
if (!next_token((const char **)cmd_ptr,buf,NULL,sizeof(buf)))
|
||||
if (!next_token(cmd_ptr,buf,NULL,sizeof(buf)))
|
||||
{
|
||||
DEBUG(0,("tar <c|x>[IXbgan] <filename>\n"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
argl=toktocliplist(*cmd_ptr, &argcl, NULL);
|
||||
argl=toktocliplist(discard_const_p(char, *cmd_ptr), &argcl, NULL);
|
||||
if (!tar_parseargs(argcl, argl, buf, 0))
|
||||
return 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user