mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +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 commit is contained in:
parent
1629b593c6
commit
b62f7bb971
@ -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…
x
Reference in New Issue
Block a user