Skip to content
Snippets Groups Projects
Commit c3c96a74 authored by Russell Bryant's avatar Russell Bryant
Browse files

fix reload problem - unload_module was not setting connected to 0 (issue #5498)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4cc2618b
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,7 @@ static int odbc_unload_module(void)
SQLDisconnect(ODBC_con);
SQLFreeHandle(SQL_HANDLE_DBC, ODBC_con);
SQLFreeHandle(SQL_HANDLE_ENV, ODBC_env);
connected = 0;
}
if (dsn) {
if (option_verbose > 10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment