зеркало из https://github.com/mozilla/pjs.git
Bug 607834. save the correct name on so we can reset the database.
This commit is contained in:
Родитель
2b671a39d9
Коммит
44c20b212b
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
* Private Key Database code
|
||||
*
|
||||
* $Id: keydb.c,v 1.25 2002-08-02 21:41:00 relyea%netscape.com Exp $
|
||||
* $Id: keydb.c,v 1.26 2002-08-08 18:02:34 relyea%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "lowkeyi.h"
|
||||
|
@ -956,7 +956,7 @@ nsslowkey_OpenKeyDB(PRBool readOnly, const char *appName, const char *prefix,
|
|||
}
|
||||
|
||||
handle->appname = appName ? PORT_Strdup(appName) : NULL ;
|
||||
handle->dbname = appName ? PORT_Strdup(dbname) :
|
||||
handle->dbname = (appName == NULL) ? PORT_Strdup(dbname) :
|
||||
(prefix ? PORT_Strdup(prefix) : NULL);
|
||||
handle->readOnly = readOnly;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче