From b13871ed65b9be572388237109747f567b1f04a2 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 19 Jun 2009 16:44:17 +0000 Subject: * add 'const' to params git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4678 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- daemon/regmaild/regmaild.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/regmaild/regmaild.c b/daemon/regmaild/regmaild.c index 65eb8ff5..a56a3bb9 100644 --- a/daemon/regmaild/regmaild.c +++ b/daemon/regmaild/regmaild.c @@ -49,7 +49,7 @@ regmaildb_open(sqlite3 **Db, const char *fpath) { } int -regmaildb_check_email(char * email, int email_len, char *myid) +regmaildb_check_email(const char * email, int email_len, const char *myid) { int count = -1; sqlite3 *Db = NULL; @@ -100,7 +100,7 @@ end: } int -regmaildb_update_email(char * userid, int userid_len, char * email, int email_len) +regmaildb_update_email(const char * userid, int userid_len, const char * email, int email_len) { int ret = -1; -- cgit v1.2.3