From aa63b09478fcae5134ff1387ae349ae1b845e2c9 Mon Sep 17 00:00:00 2001 From: Matthias Van Parys Date: Sat, 9 Jul 2016 16:32:27 +0200 Subject: [PATCH] Revert "Add missing return in socket_cmp_addresses" This reverts commit 07085fa62b5d611d98a24648af2d071990cb16ea. --- stack/pico_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)