mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5863
This commit is contained in:
parent
ff226313c3
commit
907a7cb7f0
|
@ -976,14 +976,13 @@ int RPC_CLIENT::init(const char* host, bool asynch) {
|
||||||
tried_alt_port = false;
|
tried_alt_port = false;
|
||||||
retval = boinc_socket_asynch(sock, true);
|
retval = boinc_socket_asynch(sock, true);
|
||||||
if (retval) {
|
if (retval) {
|
||||||
printf("asynch error: %d\n", retval);
|
fprintf(stderr, "asynch error: %d\n", retval);
|
||||||
}
|
}
|
||||||
retval = connect(sock, (const sockaddr*)(&addr), sizeof(addr));
|
retval = connect(sock, (const sockaddr*)(&addr), sizeof(addr));
|
||||||
if (retval) {
|
if (retval) {
|
||||||
perror("connect");
|
fprintf(stderr, "connect");
|
||||||
}
|
}
|
||||||
//fprintf(stderr, "attempting connect to alt port\n");
|
fprintf(stderr, "attempting connect to alt port\n");
|
||||||
return 0;
|
|
||||||
} else {
|
} else {
|
||||||
retval = connect(sock, (const sockaddr*)(&addr), sizeof(addr));
|
retval = connect(sock, (const sockaddr*)(&addr), sizeof(addr));
|
||||||
if (retval) {
|
if (retval) {
|
||||||
|
|
Loading…
Reference in New Issue