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
This commit is contained in:
Russell Bryant
2005-10-22 15:28:56 +00:00
parent 4cc2618bd1
commit c3c96a7461

View File

@@ -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)