use domain name in error messages and log file name

Should be much more convenient than XID.
This commit is contained in:
Marek Marczykowski 2013-04-22 05:16:26 +02:00 committed by Marek Marczykowski-Górecki
parent 9215c09656
commit 7bdf7b3f36

View File

@ -184,7 +184,7 @@ void init(int xid)
break;
}
}
fprintf(stderr, "Cannot connect to qrexec agent for %d seconds, still trying in the background\n", startup_timeout);
fprintf(stderr, "Cannot connect to '%s' qrexec agent for %d seconds, giving up\n", remote_domain_name, startup_timeout);
exit(1);
}
close(0);