Date: Fri, 22 Sep 2000 12:31:16 +0900 From: Hajimu UMEMOTO <ume@FreeBSD.org> To: wollman@khavrinen.lcs.mit.edu Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/finger net.c Message-ID: <200009220331.e8M3VH739806@plum.ssr.bisd.hitachi.co.jp> In-Reply-To: <200009220114.VAA09611@khavrinen.lcs.mit.edu> References: <200009220106.SAA21368@freefall.freebsd.org> <200009220114.VAA09611@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Thu, 21 Sep 2000 18:06:41 -0700 (PDT) >>>>> wollman@FreeBSD.org (Garrett Wollman) said: wollman> wollman 2000/09/21 18:06:41 PDT wollman> Modified files: wollman> usr.bin/finger net.c wollman> Log: wollman> Implement IPv6 support. Also restructure the way multi-homed hosts wollman> are treated, regardless of protocol. Fine! Please don't forget to initialize struct addrinfo. Index: net.c =================================================================== RCS file: /home/ncvs/src/usr.bin/finger/net.c,v retrieving revision 1.13 diff -u -r1.13 net.c --- net.c 2000/09/22 01:06:40 1.13 +++ net.c 2000/09/22 03:23:56 @@ -85,6 +85,7 @@ signal(SIGALRM, cleanup); alarm(TIME_LIMIT); + memset(&hint, 0, sizeof(hint)); hint.ai_flags = AI_CANONNAME; hint.ai_family = PF_UNSPEC; hint.ai_socktype = SOCK_STREAM; -- Hajimu UMEMOTO @ Business Solution System Development Div., Hitachi Ltd. E-Mail: ume@bisd.hitachi.co.jp ume@mahoroba.org ume@FreeBSD.org URL: http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009220331.e8M3VH739806>