]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 322865 via svnmerge from
authorTerry Wilson <twilson@digium.com>
Thu, 9 Jun 2011 22:32:56 +0000 (22:32 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 9 Jun 2011 22:32:56 +0000 (22:32 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r322865 | twilson | 2011-06-09 15:29:20 -0700 (Thu, 09 Jun 2011) | 4 lines

  Correct ast_db_deltree documentation

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@322866 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);