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;
 }
 

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to