diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-24 02:27:03 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-24 02:27:03 +0800 |
commit | 5770a8816422169284adde4b0fa40322fb0c106e (patch) | |
tree | 320eedb3864e184cefc25e417b678d78da496ab3 /daemon | |
parent | dbe4efa5777ce48d99018eff680fc279e8ccee06 (diff) | |
download | pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.tar pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.tar.gz pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.tar.bz2 pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.tar.lz pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.tar.xz pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.tar.zst pttbbs-5770a8816422169284adde4b0fa40322fb0c106e.zip |
* should not open twice mail db... must be typo miss
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4696 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/regmaild/regmaild.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/regmaild/regmaild.c b/daemon/regmaild/regmaild.c index 3c2a7f90..96acf878 100644 --- a/daemon/regmaild/regmaild.c +++ b/daemon/regmaild/regmaild.c @@ -229,8 +229,6 @@ regmaildb_update_email(const char * userid, int userid_len, const char * email, Db =g_Db; else if (regmaildb_open(&Db, EMAILDB_PATH) != SQLITE_OK) goto end; - if (regmaildb_open(&Db, EMAILDB_PATH) != SQLITE_OK) - goto end; if (strcmp(email, "x") == 0) { |