]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 2 May 2007 23:39:24 +0000 (23:39 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 2 May 2007 23:39:24 +0000 (23:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5073 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index ea73711285c7a8bba67484d1598012bf08a0db70..d475ba5eb285c93a866a1354ea8344b67c44182a 100644 (file)
@@ -1549,7 +1549,12 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
        }
 #endif
 
+#ifdef SWITCH_HAVE_ODBC
        return profile->master_odbc ? 1 : 0;
+#else
+       return 1;
+#endif
+
 }
 
 void sofia_glue_sql_close(sofia_profile_t *profile)