X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..99817f2e4d0ceaf8d3be1410c0c29fcd070ac6ec:/sbr/client.c diff --git a/sbr/client.c b/sbr/client.c index 36b2525b..a64461bc 100644 --- a/sbr/client.c +++ b/sbr/client.c @@ -1,5 +1,4 @@ -/* - * client.c -- connect to a server +/* client.c -- connect to a server * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -29,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