]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
a small change to make things compile
authorSteve Murphy <murf@digium.com>
Fri, 11 Jul 2008 21:50:21 +0000 (21:50 +0000)
committerSteve Murphy <murf@digium.com>
Fri, 11 Jul 2008 21:50:21 +0000 (21:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130296 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_odbc.c

index f7a5f3e85f701b5bec8d8a1709e2d8cdc1f60d3b..499868f3dad4726a38883f3035c1941c5b734943 100644 (file)
@@ -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));