summaryrefslogtreecommitdiff
path: root/mail/imap-uw/patches/patch-ah
blob: b171f184e177de5ad12dd713de96c71670c5a944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ah,v 1.5 2001/02/08 19:11:37 jlam Exp $

--- src/osdep/unix/env_unix.c.orig	Thu Dec 21 01:12:13 2000
+++ src/osdep/unix/env_unix.c
@@ -1273,8 +1273,12 @@
   DRIVER *d;
   FILE *f = fopen (file,"r");
 				/* no file or ill-advised usage */
+  /*
+   * pkgsrc: don't require the "I accept the risk for..." outdated string at
+   * the top of /etc/c-client.cf.
+   */
   if (!(f && (s = fgets (tmp,MAILTMPLEN,f)) && (t = strchr (s,'\n')) &&
-	(flag ||
+	(1 ||
 	 (!strcmp (s,"I accept the risk for IMAP toolkit 4.1.\n") &&
 	  (s = fgets (tmp,MAILTMPLEN,f)) && (t = strchr (s,'\n')))))) return;
   do {