[asterisk-commits] twilson: branch 1.8 r322865 - /branches/1.8/include/asterisk/astdb.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 9 17:29:24 CDT 2011


Author: twilson
Date: Thu Jun  9 17:29:20 2011
New Revision: 322865

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=322865
Log:
Correct ast_db_deltree documentation

ast_db_deltree returns -1 on error, otherwise the number of deletions

Modified:
    branches/1.8/include/asterisk/astdb.h

Modified: branches/1.8/include/asterisk/astdb.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/astdb.h?view=diff&rev=322865&r1=322864&r2=322865
==============================================================================
--- branches/1.8/include/asterisk/astdb.h (original)
+++ branches/1.8/include/asterisk/astdb.h Thu Jun  9 17:29:20 2011
@@ -47,8 +47,8 @@
  * only keytree is NULL, all entries within the family will be purged.
  * It is an error for keytree to have a value when family is NULL.
  *
- * \retval 0 Entries were deleted
  * \retval -1 An error occurred
+ * \retval >= 0 Number of records deleted
  */
 int ast_db_deltree(const char *family, const char *keytree);
 




More information about the asterisk-commits mailing list