]> diplodocus.org Git - nmh/blobdiff - uip/dropsbr.c
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / uip / dropsbr.c
index 8f841a1e7c0bc484484d1b1aebc496717098d0d9..40ec9b806451feb55949738fbb41eb98a38f0e5e 100644 (file)
@@ -6,22 +6,13 @@
  */
 
 #include <h/nmh.h>
  */
 
 #include <h/nmh.h>
-#include <h/utils.h>
-
 #include <h/mh.h>
 #include <h/mh.h>
+#include <h/utils.h>
 #include <h/dropsbr.h>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/dropsbr.h>
 #include <h/mts.h>
 #include <h/tws.h>
-#include "../sbr/lock_file.h"
-#include "../sbr/m_mktemp.h"
-
-#ifdef NTOHLSWAP
-# include <netinet/in.h>
-#else
-# undef ntohl
-# define ntohl(n) (n)
-#endif
-
+#include "sbr/lock_file.h"
+#include "sbr/m_mktemp.h"
 #include <fcntl.h>
 
 /*
 #include <fcntl.h>
 
 /*