mirror of https://github.com/adamdruppe/arsd.git
convert to uid_t/gid_t
This commit is contained in:
parent
f8099360fb
commit
767519c4de
4
cgi.d
4
cgi.d
|
@ -3510,11 +3510,11 @@ struct RequestServer {
|
||||||
foundHost = false;
|
foundHost = false;
|
||||||
}
|
}
|
||||||
if(foundUid) {
|
if(foundUid) {
|
||||||
privilegesDropToUid = to!int(arg);
|
privilegesDropToUid = to!uid_t(arg);
|
||||||
foundUid = false;
|
foundUid = false;
|
||||||
}
|
}
|
||||||
if(foundGid) {
|
if(foundGid) {
|
||||||
privilegesDropToGid = to!int(arg);
|
privilegesDropToGid = to!gid_t(arg);
|
||||||
foundGid = false;
|
foundGid = false;
|
||||||
}
|
}
|
||||||
if(arg == "--listening-host" || arg == "-h" || arg == "/listening-host")
|
if(arg == "--listening-host" || arg == "-h" || arg == "/listening-host")
|
||||||
|
|
Loading…
Reference in New Issue