--- a/connection.c +++ b/connection.c @@ -15,7 +15,6 @@ int connection (char *ip, unsigned short port) { struct hostent *hs; - struct sockaddr_in sock; int sockfd;