summaryrefslogtreecommitdiff
path: root/mail/cucipop/patches/patch-ag
blob: fc289b5d98148672ec77de9bd9e7ddd11cb6f688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.1 2004/09/02 10:39:04 grant Exp $

--- makevpopdb.c.orig	1998-05-12 10:50:53.000000000 +1000
+++ makevpopdb.c
@@ -49,7 +49,7 @@ main(int argc,const char*argv[])
    }
   dbname=argv[1];
   memset(&dbenv,0,sizeof dbenv);
-  if(!db_appinit(0,0,&dbenv,0))
+  if(db_appinit(0,0,&dbenv,0))
      fprintf(stderr,"makedb2: Can't init db subsystem\n"),retval=EX_CANTCREAT;
   else
    { if(db_open(dbname,DB_HASH,DB_CREATE|DB_TRUNCATE,0666,&dbenv,(void*)0,&db))