qrexec: get domain name from cmdline
libvchan_get_domain_name will be removed
This commit is contained in:
parent
6d2755abe6
commit
d08831cc7e
@ -151,11 +151,6 @@ void init(int xid)
|
|||||||
fprintf(stderr, "domain id=0?\n");
|
fprintf(stderr, "domain id=0?\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
remote_domain_name = libvchan_get_domain_name(xid);
|
|
||||||
if (!remote_domain_name) {
|
|
||||||
fprintf(stderr, "Cannot get remote domain name\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
startup_timeout_str = getenv("QREXEC_STARTUP_TIMEOUT");
|
startup_timeout_str = getenv("QREXEC_STARTUP_TIMEOUT");
|
||||||
if (startup_timeout_str) {
|
if (startup_timeout_str) {
|
||||||
startup_timeout = atoi(startup_timeout_str);
|
startup_timeout = atoi(startup_timeout_str);
|
||||||
|
Loading…
Reference in New Issue
Block a user