diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-20 00:44:17 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-20 00:44:17 +0800 |
commit | b13871ed65b9be572388237109747f567b1f04a2 (patch) | |
tree | 15808290a4b683fc7796e1e67cd9801b8874c27a /daemon | |
parent | 776afbfaa8b6440dfa2f15045837c59d42e18547 (diff) | |
download | pttbbs-b13871ed65b9be572388237109747f567b1f04a2.tar pttbbs-b13871ed65b9be572388237109747f567b1f04a2.tar.gz pttbbs-b13871ed65b9be572388237109747f567b1f04a2.tar.bz2 pttbbs-b13871ed65b9be572388237109747f567b1f04a2.tar.lz pttbbs-b13871ed65b9be572388237109747f567b1f04a2.tar.xz pttbbs-b13871ed65b9be572388237109747f567b1f04a2.tar.zst pttbbs-b13871ed65b9be572388237109747f567b1f04a2.zip |
* add 'const' to params
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4678 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/regmaild/regmaild.c | 4 |
1 files 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; |