diff --git a/src/mysql.c b/src/mysql.c index 6acbd6e3..a041196b 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -57,12 +57,12 @@ int open_sphx(struct session_data *sdata, struct config *cfg){ } -void close_sphx(struct session_data *sdata){ +void close_database(struct session_data *sdata){ mysql_close(&(sdata->mysql)); } -void close_database(struct session_data *sdata){ +void close_sphx(struct session_data *sdata){ mysql_close(&(sdata->sphx)); }