save_errno = errno; mutt_perror (_("Preconnect command failed.")); sleep (1);
save_errno = errno; mutt_perror (_("Preconnect command failed.")); mutt_sleep (1);
static int socket_connect (int fd, struct sockaddr* sa){  int sa_size;  int rc;  int save_errno;  /* old first_try_without_preconnect removed for now. unset $preconnect     first. */  if (mutt_strlen (Preconnect))  {    dprint (1, (debugfile, "Executing preconnect: %s\n", Preconnect));    rc = mutt_system (Preconnect);    dprint (1, (debugfile, "Preconnect result: %d\n", rc));    if (rc)    {	save_errno = errno;	mutt_perror (_("Preconnect command failed."));	sleep (1);      return save_errno;    }  }  if (sa->sa_family == AF_INET)    sa_size = sizeof (struct sockaddr_in);#ifdef HAVE_GETADDRINFO  else if (sa->sa_family == AF_INET6)    sa_size = sizeof (struct sockaddr_in6);#endif  else  {    dprint (1, (debugfile, "Unknown address family!\n"));    return -1;  }    if (ConnectTimeout > 0)      alarm (ConnectTimeout);  mutt_allow_interrupt (1);  save_errno = 0;  if (connect (fd, sa, sa_size) < 0)  {      save_errno = errno;      dprint (2, (debugfile, "Connection failed. errno: %d...\n", errno));      SigInt = 0;	/* reset in case we caught SIGINTR while in connect() */  }  if (ConnectTimeout > 0)      alarm (0);  mutt_allow_interrupt (0);  return save_errno;}