mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix ODBC build for FreeBSD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -281,8 +281,8 @@ void destroy_obdc_obj(odbc_obj **obj) {
|
||||
}
|
||||
|
||||
odbc_status odbc_obj_disconnect(odbc_obj *obj) {
|
||||
ast_mutex_lock(&obj->lock);
|
||||
int res;
|
||||
ast_mutex_lock(&obj->lock);
|
||||
|
||||
if(obj->up)
|
||||
res = SQLDisconnect(obj->con);
|
||||
|
Reference in New Issue
Block a user