[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lib-src/pop.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lib-src/pop.c |
Date: |
Fri, 17 May 2002 07:24:02 -0400 |
Index: emacs/lib-src/pop.c
diff -c emacs/lib-src/pop.c:1.30 emacs/lib-src/pop.c:1.31
*** emacs/lib-src/pop.c:1.30 Sun Dec 30 17:05:51 2001
--- emacs/lib-src/pop.c Fri May 17 07:24:02 2002
***************
*** 1054,1070 ****
}
#endif
- do
- {
- hostent = gethostbyname (host);
- try_count++;
- if ((! hostent) && ((h_errno != TRY_AGAIN) || (try_count == 5)))
- {
- strcpy (pop_error, "Could not determine POP server's address");
- return (-1);
- }
- } while (! hostent);
-
bzero ((char *) &addr, sizeof (addr));
addr.sin_family = AF_INET;
--- 1054,1059 ----
***************
*** 1114,1119 ****
--- 1103,1119 ----
return (-1);
}
+
+ do
+ {
+ hostent = gethostbyname (host);
+ try_count++;
+ if ((! hostent) && ((h_errno != TRY_AGAIN) || (try_count == 5)))
+ {
+ strcpy (pop_error, "Could not determine POP server's address");
+ return (-1);
+ }
+ } while (! hostent);
while (*hostent->h_addr_list)
{
- [Emacs-diffs] Changes to emacs/lib-src/pop.c,
Eli Zaretskii <=