[Asterisk-cvs] asterisk/cdr cdr_odbc.c,1.32,1.33

russell russell
Sat Oct 22 11:35:40 CDT 2005


Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv6479/cdr

Modified Files:
	cdr_odbc.c 
Log Message:
fix reload problem - unload_module was not setting connected to 0 (issue #5498)


Index: cdr_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_odbc.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- cdr_odbc.c	14 Sep 2005 20:46:49 -0000	1.32
+++ cdr_odbc.c	22 Oct 2005 15:28:56 -0000	1.33
@@ -208,6 +208,7 @@
 		SQLDisconnect(ODBC_con);
 		SQLFreeHandle(SQL_HANDLE_DBC, ODBC_con);
 		SQLFreeHandle(SQL_HANDLE_ENV, ODBC_env);
+		connected = 0;
 	}
 	if (dsn) {
 		if (option_verbose > 10)




More information about the svn-commits mailing list