[Freeswitch-svn] [commit] r11478 - freeswitch/trunk/src/mod/applications/mod_easyroute

FreeSWITCH SVN silik0n at freeswitch.org
Fri Jan 23 17:14:11 PST 2009


Author: silik0n
Date: Fri Jan 23 19:14:10 2009
New Revision: 11478

Log:
fix build error when --enable-core-odbc-support not used at configure time

Modified:
   freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c

Modified: freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c	Fri Jan 23 19:14:10 2009
@@ -197,8 +197,8 @@
 
 static switch_status_t route_lookup(char *dn, easyroute_results_t *results, int noat, char *seperator)
 {	
-#ifdef SWITCH_HAVE_ODBC
 	switch_status_t sstatus = SWITCH_STATUS_SUCCESS;
+#ifdef SWITCH_HAVE_ODBC
 	char *sql = NULL;
 	route_callback_t pdata;
 



More information about the Freeswitch-svn mailing list