fix merge conflict properly
This commit is contained in:
parent
442c43da10
commit
cfd259fcf1
10
servconf.c
10
servconf.c
|
@ -1867,10 +1867,7 @@ process_server_config_line_depth(ServerOptions *options, char *line,
|
|||
/* XXX appends to list; doesn't respect first-match-wins */
|
||||
parse_allowdenygroups:
|
||||
while ((arg = argv_next(&ac, &av)) != NULL) {
|
||||
if (*arg == '\0')
|
||||
fatal("%s line %d: empty %s pattern",
|
||||
filename, linenum, keyword);
|
||||
found = 1;
|
||||
#ifdef WINDOWS
|
||||
// it can be a SID string; if it is - use localized name for that SID
|
||||
PSID Sid = NULL;
|
||||
char* utf8_group_name = NULL;
|
||||
|
@ -1898,6 +1895,11 @@ process_server_config_line_depth(ServerOptions *options, char *line,
|
|||
debug3_f("'%s' not recognized as SID", arg);
|
||||
}
|
||||
#endif // WINDOWS
|
||||
if (*arg == '\0' ||
|
||||
match_user(NULL, NULL, NULL, arg) == -1)
|
||||
fatal("%s line %d: empty %s pattern",
|
||||
filename, linenum, keyword);
|
||||
found = 1;
|
||||
if (!*activep)
|
||||
continue;
|
||||
opt_array_append(filename, linenum, keyword,
|
||||
|
|
Loading…
Reference in New Issue