зеркало из https://github.com/mozilla/gecko-dev.git
Argh. I thought I had compiled this! fixe compile errors.
This commit is contained in:
Родитель
115cffc721
Коммит
81db56051e
|
@ -32,7 +32,7 @@
|
|||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
# $Id: dbinit.c,v 1.11 2002/05/16 20:39:02 relyea%netscape.com Exp $
|
||||
# $Id: dbinit.c,v 1.12 2002/05/16 20:48:27 relyea%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
|
@ -304,7 +304,7 @@ struct RDBStr {
|
|||
int
|
||||
db_BeginTransaction(DB *db)
|
||||
{
|
||||
RDB *rdb = (RDB *)db;
|
||||
struct RDBStr *rdb = (struct RDBStr *)db;
|
||||
if (db->type != DB_RDB) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ db_BeginTransaction(DB *db)
|
|||
int
|
||||
db_FinishTransaction(DB *db, PRBool abort)
|
||||
{
|
||||
RDB *rdb = (RDB *)db;
|
||||
struct RDBStr *rdb = (struct RDBStr *)db;
|
||||
if (db->type != DB_RDB) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
/*
|
||||
* Permanent Certificate database handling code
|
||||
*
|
||||
* $Id: pcertdb.c,v 1.18 2002/05/16 20:39:03 relyea%netscape.com Exp $
|
||||
* $Id: pcertdb.c,v 1.19 2002/05/16 20:48:27 relyea%netscape.com Exp $
|
||||
*/
|
||||
#include "prtime.h"
|
||||
|
||||
|
@ -4066,6 +4066,7 @@ nsslowcert_AddPermCert(NSSLOWCERTCertDBHandle *dbhandle,
|
|||
certDBEntryCert *entry;
|
||||
PRBool conflict;
|
||||
SECStatus ret;
|
||||
SECStatus rv;
|
||||
|
||||
nsslowcert_LockDB(dbhandle);
|
||||
rv = db_BeginTransaction(dbhandle->permCertDB);
|
||||
|
|
Загрузка…
Ссылка в новой задаче