--- a/dnsresolve.c +++ b/dnsresolve.c @@ -12,6 +12,7 @@ int main (int argc, char **argv) { struct hostent *he; + char *ip; int i = 0;