[Asterisk-cvs] asterisk/res res_config_odbc.c,1.26,1.27

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu Apr 21 22:38:28 CDT 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv13142/res

Modified Files:
	res_config_odbc.c 
Log Message:
report the number of rows updated when using RealTime update method (bug #4066)


Index: res_config_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_config_odbc.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- res_config_odbc.c	22 Apr 2005 01:59:53 -0000	1.26
+++ res_config_odbc.c	22 Apr 2005 03:29:03 -0000	1.27
@@ -402,8 +402,9 @@
 		return -1;
 	}
 
-	if (rowcount) 
-		return 0;
+       if (rowcount >= 0)
+               return (int)rowcount;
+
 	return -1;
 }
 




More information about the svn-commits mailing list