mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
Fix build warning.
Guenther (This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)
This commit is contained in:
parent
b7db7c8352
commit
4a1fbf7bbf
@ -1304,7 +1304,7 @@ int interpret_protocol(const char *str,int def)
|
|||||||
static char *strip_mount_options(const char *str)
|
static char *strip_mount_options(const char *str)
|
||||||
{
|
{
|
||||||
if (*str == '-') {
|
if (*str == '-') {
|
||||||
char *p = str;
|
const char *p = str;
|
||||||
while(*p && !isspace(*p))
|
while(*p && !isspace(*p))
|
||||||
p++;
|
p++;
|
||||||
while(*p && isspace(*p))
|
while(*p && isspace(*p))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user