comparison lib-src/pop.c @ 5922:4b055de36bb9 cygwin

merging heads 2
author Henry Thompson <ht@markup.co.uk>
date Fri, 27 Feb 2015 17:47:15 +0000
parents 7984e732829e
children 574f0cded429
comparison
equal deleted inserted replaced
5921:68639fb08af8 5922:4b055de36bb9
1073 { 1073 {
1074 hostent = gethostbyname (host); 1074 hostent = gethostbyname (host);
1075 try_count++; 1075 try_count++;
1076 if ((! hostent) && ((h_errno != TRY_AGAIN) || (try_count == 5))) 1076 if ((! hostent) && ((h_errno != TRY_AGAIN) || (try_count == 5)))
1077 { 1077 {
1078 CLOSESOCKET (sock);
1078 strcpy (pop_error, "Could not determine POP server's address"); 1079 strcpy (pop_error, "Could not determine POP server's address");
1079 return (-1); 1080 return (-1);
1080 } 1081 }
1081 } while (! hostent); 1082 } while (! hostent);
1082 1083