forked from premiere/premiere-libtorrent
merged proxy test change from RC_0_16
This commit is contained in:
parent
b3ad105145
commit
8f0d039b3c
|
@ -201,7 +201,12 @@ int start_proxy(int proxy_type)
|
|||
, port, type, auth);
|
||||
|
||||
fprintf(stderr, "starting delegated proxy on port %d (%s %s)...\n", port, type, auth);
|
||||
system(buf);
|
||||
int r = system(buf);
|
||||
if (r != 0)
|
||||
{
|
||||
fprintf(stderr, "failed (%d) %s\n", errno, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
fprintf(stderr, "launched\n");
|
||||
// apparently delegate takes a while to open its listen port
|
||||
test_sleep(500);
|
||||
|
|
Loading…
Reference in New Issue