diff options
Diffstat (limited to 'lib-src/pop.c')
-rw-r--r-- | lib-src/pop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c index d1469bd927b..426b39bd1fb 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c @@ -1091,8 +1091,7 @@ socket_connection (char *host, int flags) { if (it->ai_addrlen == sizeof (addr)) { - struct sockaddr_in *in_a = - (struct sockaddr_in *) (void *) it->ai_addr; + struct sockaddr_in *in_a = (struct sockaddr_in *) it->ai_addr; memcpy (&addr.sin_addr, &in_a->sin_addr, sizeof (addr.sin_addr)); if (! connect (sock, (struct sockaddr *) &addr, sizeof (addr))) break; |