diff options
author | kaie%kuix.de <devnull@localhost> | 2012-11-14 20:51:53 +0000 |
---|---|---|
committer | kaie%kuix.de <devnull@localhost> | 2012-11-14 20:51:53 +0000 |
commit | c2250f5f38c4036699368b5cf7bf4c44b8871771 (patch) | |
tree | d032a57c014f245ca0690da47bc9fe0a84a8dfec | |
parent | cd931cba7e336a0c2a09f290323677d2bb782903 (diff) | |
download | nss-hg-c2250f5f38c4036699368b5cf7bf4c44b8871771.tar.gz |
move variable assignment to fix bustage
-rw-r--r-- | security/nss/lib/softoken/sdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/sdb.c b/security/nss/lib/softoken/sdb.c index 5b4e232f5..100f7d9ea 100644 --- a/security/nss/lib/softoken/sdb.c +++ b/security/nss/lib/softoken/sdb.c @@ -1838,9 +1838,9 @@ sdb_init(char *dbname, char *table, sdbDataType type, int *inUpdate, if (!tempDir) { tempDir = tempnam(NULL, NULL); if (tempDir) { - mustFreeTempDir = PR_TRUE; char dirsep = PR_GetDirectorySeparator(); char *end = PORT_Strrchr(tempDir, dirsep); + mustFreeTempDir = PR_TRUE; if (end) { /* We shorten the temp filename string to contain * only the directory name. |