summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2008-07-11 21:50:21 +0000
committerSteve Murphy <murf@digium.com>2008-07-11 21:50:21 +0000
commitb247dcf4326d88d651fde4e57d36f8ddd0fd05e0 (patch)
tree9de807ee60e7970e7940c470b99e2e8672775c1f /res
parent8635eecdc9ca75f643606865c3bc31aec5cc4a6a (diff)
a small change to make things compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r--res/res_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c
index f7a5f3e85..499868f3d 100644
--- a/res/res_odbc.c
+++ b/res/res_odbc.c
@@ -740,7 +740,7 @@ struct odbc_obj *ast_odbc_request_obj(const char *name, int check)
} else if (obj && obj->parent->idlecheck > 0 && ast_tvdiff_sec(ast_tvnow(), obj->last_used) > obj->parent->idlecheck)
odbc_obj_connect(obj);
-#if DEBUG_THREADS
+#ifdef DEBUG_THREADS
if (obj) {
ast_copy_string(obj->file, file, sizeof(obj->file));
ast_copy_string(obj->function, function, sizeof(obj->function));