]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Correct ast_db_deltree documentation
authorTerry Wilson <twilson@digium.com>
Thu, 9 Jun 2011 22:29:20 +0000 (22:29 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 9 Jun 2011 22:29:20 +0000 (22:29 +0000)
ast_db_deltree returns -1 on error, otherwise the number of deletions

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@322865 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/astdb.h

index 4c1fa589092553bc4ab720a394ec693a21cdefae..cfbebbc30140acb230b8d22f5058af113e595189 100644 (file)
@@ -47,8 +47,8 @@ int ast_db_del(const char *family, const char *key);
  * 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);