$NetBSD: patch-ai,v 1.1 2009/10/22 22:01:26 wiz Exp $

--- src/nntplib.c.orig	2009-02-09 11:03:19.000000000 +0100
+++ src/nntplib.c
@@ -888,6 +888,10 @@ get_server(
 	 *       leave the s_gets() in that case)
 	 */
 	while (nntp_rd_fp == NULL || s_gets(string, size, nntp_rd_fp) == NULL) {
+		if (errno == EINTR) {
+			errno = 0;
+			continue;
+		}
 		if (quitting)						/* Don't bother to reconnect */
 			tin_done(NNTP_ERROR_EXIT);		/* And don't try to disconnect again! */
 
