|
@@ -219,7 +219,7 @@ getopt_helper( conffile_t *cfile, int *cops, int ops[], char **sync_state )
|
|
while ((arg = get_arg( cfile, ARG_OPTIONAL, 0 )));
|
|
while ((arg = get_arg( cfile, ARG_OPTIONAL, 0 )));
|
|
ops[M] |= XOP_HAVE_CREATE;
|
|
ops[M] |= XOP_HAVE_CREATE;
|
|
} else if (!strcasecmp( "SyncState", cfile->cmd ))
|
|
} else if (!strcasecmp( "SyncState", cfile->cmd ))
|
|
- *sync_state = expand_strdup( cfile->val );
|
|
|
|
|
|
+ *sync_state = !strcmp( cfile->val, "*" ) ? nfstrdup( "*" ) : expand_strdup( cfile->val );
|
|
else
|
|
else
|
|
return 0;
|
|
return 0;
|
|
return 1;
|
|
return 1;
|