Fix Windows socket leak
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 13 Nov 2016 07:32:11 +0000 (08:32 +0100)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 13 Nov 2016 07:33:38 +0000 (08:33 +0100)
ethsock.c

index be1031d8e87f27a1643d64a876d3f7b9e04a3bfd..5312e3b06fcb1d410fa1d21893f7bae1c26af6ce 100644 (file)
--- a/ethsock.c
+++ b/ethsock.c
@@ -767,7 +767,6 @@ int ethsock_ip_add(struct ethsock *sock, uint32_t ipaddr, uint32_t ipmask, struc
                        goto out;
                }
        }
-       return 0;
 #endif
        ret = 0;