summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-21 18:21:13 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-21 18:21:13 +0000
commit3a678907dd1447f8fc8b68fcc7a977438f508d48 (patch)
treecfb23d113b002c16366f52887768dedab73ef067 /src
parentffdb7c140be8f2326b09d92a5f0b131e76ea70aa (diff)
downloadhercules-3a678907dd1447f8fc8b68fcc7a977438f508d48.tar.gz
hercules-3a678907dd1447f8fc8b68fcc7a977438f508d48.tar.bz2
hercules-3a678907dd1447f8fc8b68fcc7a977438f508d48.tar.xz
hercules-3a678907dd1447f8fc8b68fcc7a977438f508d48.zip
ups
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11775 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/common/sql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sql.c b/src/common/sql.c
index 0f61cbe72..567fbb703 100644
--- a/src/common/sql.c
+++ b/src/common/sql.c
@@ -145,7 +145,7 @@ int Sql_GetColumnNames(Sql* self, const char* table, char* out_buf, size_t buf_l
/// Changes the encoding of the connection.
int Sql_SetEncoding(Sql* self, const char* encoding)
{
- if( self && mysql_set_character_set(self->handle, encoding) )
+ if( self && mysql_set_character_set(&self->handle, encoding) )
return SQL_SUCCESS;
return SQL_ERROR;
}