mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user