*** empty log message ***

svn path=/trunk/boinc/; revision=5863
This commit is contained in:
Rom Walton 2005-04-15 19:01:25 +00:00
parent ff226313c3
commit 907a7cb7f0
1 changed files with 3 additions and 4 deletions

View File

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