X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..831f60932e836bfcc357a26bff4182ab1dfccc3a:/sbr/client.c diff --git a/sbr/client.c b/sbr/client.c index 1a7cb7fd..572f8ee0 100644 --- a/sbr/client.c +++ b/sbr/client.c @@ -5,9 +5,10 @@ * complete copyright information. */ -#include -#include -#include +#include "h/mh.h" +#include "client.h" +#include "h/mts.h" +#include "h/utils.h" #include #include #include @@ -28,7 +29,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