[commit] r13031 - freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill
Author: dschreiber Date: Wed Apr 15 10:48:36 2009 New Revision: 13031 Log: Updated mod_nibblebill to work properly w/ postgres fields Modified: freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/mod_nibblebill.c Modified: freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/mod_nibblebill.c ============================================================================== --- freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/mod_nibblebill.c (original) +++ freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/mod_nibblebill.c Wed Apr 15 10:48:36 2009 @@ -57,7 +57,7 @@ /* Defaults */ #ifdef SWITCH_HAVE_ODBC /*static char SQL_LOOKUP[] = "SELECT %s FROM %s WHERE %s=\"%s\"";*/ -static char SQL_SAVE[] = "UPDATE %s SET %s=%s-%f WHERE %s=\"%s\""; +static char SQL_SAVE[] = "UPDATE %s SET %s=%s-%f WHERE %s=%s"; #endif typedef struct
participants (1)
-
FreeSWITCH SVN