1/* 2 * Copyright (c) 1998 Sendmail, Inc. All rights reserved. 3 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 4 * Copyright (c) 1988, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set 8 * forth in the LICENSE file which can be found at the top level of 9 * the sendmail distribution. 10 * 11 */ 12 13#include "sendmail.h" 14 15#ifndef lint 16#if USERDB |
17static char sccsid [] = "@(#)udb.c 8.71 (Berkeley) 1/17/1999 (with USERDB)"; |
18#else |
19static char sccsid [] = "@(#)udb.c 8.71 (Berkeley) 1/17/1999 (without USERDB)"; |
20#endif 21#endif 22 23#if USERDB 24 25#include <errno.h> 26 27#ifdef NEWDB --- 1131 unchanged lines hidden (view full) --- 1159 { 1160#if DB_VERSION_MAJOR < 2 1161 (*up->udb_dbp->close)(up->udb_dbp); 1162#else 1163 errno = (*up->udb_dbp->close)(up->udb_dbp, 0); 1164#endif 1165 if (tTd(28, 1)) 1166 { |
1167 printf("_udbx_init: db->close(%s)\n", |
1168 up->udb_dbname); 1169 } 1170 } 1171 } 1172#endif 1173 return EX_TEMPFAIL; 1174} 1175 --- 57 unchanged lines hidden (view full) --- 1233#if DB_VERSION_MAJOR < 2 1234 (*up->udb_dbp->close)(up->udb_dbp); 1235#else 1236 errno = (*up->udb_dbp->close)(up->udb_dbp, 0); 1237#endif 1238 } 1239 if (tTd(28, 1)) 1240 { |
1241 printf("_udbx_init: db->close(%s)\n", |
1242 up->udb_dbname); 1243 } 1244#endif 1245 } 1246} 1247 1248#ifdef HESIOD 1249 --- 86 unchanged lines hidden --- |