mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3615
This commit is contained in:
parent
bfb0bb2c62
commit
09eea50af6
|
@ -355,7 +355,7 @@ bool GUI_RPC_CONN_SET::poll() {
|
|||
int addr_len = sizeof(addr);
|
||||
sock = accept(lsock, (struct sockaddr*)&addr, &addr_len);
|
||||
#else
|
||||
size_t addr_len = sizeof(addr);
|
||||
socklen_t addr_len = sizeof(addr);
|
||||
sock = accept(lsock, (struct sockaddr*)&addr, &addr_len);
|
||||
#endif
|
||||
int peer_ip = (int) ntohl(addr.sin_addr.s_addr);
|
||||
|
|
Loading…
Reference in New Issue