This commit is contained in:
Max Lv
2016-10-29 13:40:40 +08:00
parent 4a760fd50b
commit aac4240e9f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ print_addrinfo(struct addrinfo *ai)
{
char ipstr[INET6_ADDRSTRLEN];
unsigned short int port = 0;
bzero(ipstr, INET6_ADDRSTRLEN);
memset(ipstr, 0, INET6_ADDRSTRLEN);
printf("addrinfo=>{");
printf("ai_flags=");