1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

* pop.c: Undo previous change.

This commit is contained in:
Paul Eggert 2011-04-16 15:32:35 -07:00
parent c7b7425e22
commit 68afa9ca47
2 changed files with 1 additions and 5 deletions

View File

@ -1,8 +1,5 @@
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* pop.c (socket_connection): Double-cast to avoid GCC warning
about alignment.
* movemail.c (mail_spool_name): Protoize.
(main): Remove unused var. Mark var as initialized.
Move locals to avoid shadowing, and use time_t for times.

View File

@ -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;