Browse code

- updated the documentation about the return code of avp_db_query()

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5586 689a6050-402a-0410-94f2-e92a70836424

Daniel-Constantin Mierla authored on 10/02/2009 21:41:39
Showing 2 changed files
... ...
@@ -12,8 +12,8 @@ Ramona-Elena Modroiu
12 12
 
13 13
    Copyright � 2004, 2005 voice-system.ro
14 14
    Revision History
15
-   Revision $Revision$ $Date: 2008-08-06 12:08:33 +0200
16
-                              (Mi, 06 Aug 2008) $
15
+   Revision $Revision$ $Date: 2008-08-06 13:08:33 +0300
16
+                              (Wed, 06 Aug 2008) $
17 17
      __________________________________________________________
18 18
 
19 19
    Table of Contents
... ...
@@ -390,7 +390,7 @@ avp_db_delete("$uuid","$avp(s:404fwd)/fwd_table");
390 390
      * -1 - An error occured while querying the database (e.g.
391 391
        wrong SQL or database error)
392 392
      * 1 - Query was successful
393
-     * 2 - Query was successful, but no rows where returned.
393
+     * -2 - Query was successful, but no rows where returned.
394 394
 
395 395
    This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
396 396
    BRANCH_ROUTE, LOCAL_ROUTE and ONREPLY_ROUTE.
... ...
@@ -535,7 +535,7 @@ avp_db_delete("$uuid","$avp(s:404fwd)/fwd_table");
535 535
 			<emphasis>1</emphasis> - Query was successful
536 536
 			</para></listitem>
537 537
 			<listitem><para>
538
-			<emphasis>2</emphasis> - Query was successful, but no rows where returned.
538
+			<emphasis>-2</emphasis> - Query was successful, but no rows where returned.
539 539
 			</para></listitem>
540 540
 			</itemizedlist>
541 541
 			<para>