Add missing include for chmod()
[libt2n] / src / socket_server.cpp
index 7c6f244..18bb722 100644 (file)
@@ -28,6 +28,7 @@ on this file might be covered by the GNU General Public License.
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/time.h>
+#include <sys/stat.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <netdb.h>
@@ -277,8 +278,6 @@ bool socket_server::fill_connection_buffers()
             }
             catch (t2n_transfer_error &e)
                 { i->second->close(); }
-            catch(...)
-                { throw; }
         }
 
     return data_found;