@@ -191,26 +191,26 @@ #endif } #ifndef OF_WII int -of_getsockname(of_socket_t socket, struct sockaddr *restrict address, - socklen_t *restrict address_len) +of_getsockname(of_socket_t sock, struct sockaddr *restrict addr, + socklen_t *restrict addrLen) { int ret; # ifdef OF_HAVE_THREADS if (!of_mutex_lock(&mutex)) @throw [OFLockFailedException exception]; # endif - ret = getsockname(socket, address, address_len); + ret = getsockname(sock, addr, addrLen); # ifdef OF_HAVE_THREADS if (!of_mutex_unlock(&mutex)) @throw [OFUnlockFailedException exception]; # endif return ret; } #endif