]> diplodocus.org Git - nmh/blobdiff - sbr/client.c
seq_bits.c: Move interface to own file.
[nmh] / sbr / client.c
index 1a7cb7fd83b8db1e8eb4ce6a9c661dd7318d9051..a90d4e01b9d64859f134f83eff73eb22aa9110fb 100644 (file)
@@ -5,9 +5,9 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
-#include <h/mts.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "h/mts.h"
+#include "h/utils.h"
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
@@ -28,7 +28,7 @@ client (char *server, char *service, char *response, int len_response,
        return NOTOK;
     }
 
-    memset(&hints, 0, sizeof(hints));
+    ZERO(&hints);
 #ifdef AI_ADDRCONFIG
     hints.ai_flags = AI_ADDRCONFIG;
 #endif