diff --git a/stack/pico_socket.c b/stack/pico_socket.c index 1e2edd1e8..7d2bbb23e 100644 --- a/stack/pico_socket.c +++ b/stack/pico_socket.c @@ -129,7 +129,7 @@ static int socket_cmp_addresses(struct pico_socket *a, struct pico_socket *b) if (ret == 0) ret = socket_cmp_remotehost(a, b); - return ret; + return 0; } static int socket_cmp(void *ka, void *kb)