Revert "serversocket-remove-unused-variable-res-in-eServerSo"
authorlittlesat <littlesat99@yahoo.com>
Sat, 16 May 2015 10:33:22 +0000 (12:33 +0200)
committerlittlesat <littlesat99@yahoo.com>
Sat, 16 May 2015 10:33:22 +0000 (12:33 +0200)
This reverts commit c5c9635293f1147964b3146938a1e43391b0aed0.

As it crashed all boxes this morning - also revert d19775

lib/network/serversocket.cpp

index 14cfb2a..716c747 100644 (file)
@@ -75,6 +75,7 @@ eServerSocket::eServerSocket(int port, eMainloop *ml): eSocket(ml)
 
 eServerSocket::eServerSocket(std::string path, eMainloop *ml) : eSocket(ml)
 {
+       int res;
        struct sockaddr_un serv_addr_un;
        struct addrinfo addr;