Directly use calloc instead of malloc + memset
modified libpkg/dns_utils.c
@@ -65,10 +65,9 @@ dns_getsrvinfo(const char *zone)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|