qrexec: get domain name from cmdline

libvchan_get_domain_name will be removed
This commit is contained in:
Marek Marczykowski 2013-05-04 04:17:58 +02:00 committed by Marek Marczykowski-Górecki
parent 6d2755abe6
commit d08831cc7e

View File

@ -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);