From 5770a8816422169284adde4b0fa40322fb0c106e Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 23 Jun 2009 18:27:03 +0000 Subject: * 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 --- daemon/regmaild/regmaild.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'daemon/regmaild') 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) { -- cgit v1.2.3