[asterisk-commits] russell: branch russell/cdr-q r248535 - /team/russell/cdr-q/cdr/cdr_odbc.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 24 01:06:59 CST 2010


Author: russell
Date: Wed Feb 24 01:06:55 2010
New Revision: 248535

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248535
Log:
Return failure on a failed INSERT

Modified:
    team/russell/cdr-q/cdr/cdr_odbc.c

Modified: team/russell/cdr-q/cdr/cdr_odbc.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/cdr-q/cdr/cdr_odbc.c?view=diff&rev=248535&r1=248534&r2=248535
==============================================================================
--- team/russell/cdr-q/cdr/cdr_odbc.c (original)
+++ team/russell/cdr-q/cdr/cdr_odbc.c Wed Feb 24 01:06:55 2010
@@ -149,7 +149,7 @@
 
 	ast_odbc_release_obj(obj);
 
-	return 0;
+	return res;
 }
 
 static int odbc_load_module(int reload)




More information about the asterisk-commits mailing list