[Freeswitch-svn] [commit] r13008 - freeswitch/trunk/src/mod/applications/mod_cidlookup

FreeSWITCH SVN rupa at freeswitch.org
Sun Apr 12 16:29:05 PDT 2009


Author: rupa
Date: Sun Apr 12 18:29:04 2009
New Revision: 13008

Log:
forgot an ifdef


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

Modified: freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_cidlookup/mod_cidlookup.c	Sun Apr 12 18:29:04 2009
@@ -154,9 +154,11 @@
 #endif	
 	
 done:
+#ifdef SWITCH_HAVE_ODBC
 	if (globals.db_mutex) {
 		switch_mutex_unlock(globals.db_mutex);
 	}
+#endif
 	return status;
 }
 



More information about the Freeswitch-svn mailing list