fixed a segfault issue in httpd
This commit is contained in:
parent
9e2010f85c
commit
7984b065e1
@ -851,7 +851,12 @@ static int load_server_config (
|
||||
}
|
||||
#endif
|
||||
|
||||
if (qse_mbstonwad (server_xtn->scfg[SCFG_ROOT], &server_xtn->root_nwad) >= 0) server_xtn->root_is_nwad = 1;
|
||||
if (server_xtn->scfg[SCFG_ROOT] &&
|
||||
qse_mbstonwad (server_xtn->scfg[SCFG_ROOT], &server_xtn->root_nwad) >= 0)
|
||||
{
|
||||
server_xtn->root_is_nwad = 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user