$NetBSD: patch-ax,v 1.4 2002/07/08 02:21:20 kim Exp $ --- nntp.c.orig Sat Jan 25 07:10:39 2003 +++ nntp.c Fri Apr 8 22:23:05 2005 @@ -832,7 +832,11 @@ server_real_name = hp->h_name; else nn_exitmsg(1, "NNTPSERVER is invalid"); +#if 0 use_nntp = (strcmp(host_name, server_real_name) != 0); +#else + use_nntp = 1; +#endif if (use_nntp) { freeobj(news_active); @@ -1159,7 +1163,7 @@ case OK_BODY: tmp = open_file(cptr->file_name, OPEN_APPEND|MUST_EXIST); - fseek(tmp, (off_t)0, 2); + fseek(tmp, (long)0, 2); if (copy_text(tmp) < 0) return NULL; if (fclose(tmp) == EOF) goto err;