Fixed close_sphx() typo

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2022-12-29 06:41:21 +01:00
parent 29dc4685da
commit 9d24300408

View File

@ -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)); mysql_close(&(sdata->mysql));
} }
void close_database(struct session_data *sdata){ void close_sphx(struct session_data *sdata){
mysql_close(&(sdata->sphx)); mysql_close(&(sdata->sphx));
} }