From: Terry Wilson Date: Thu, 9 Jun 2011 22:29:20 +0000 (+0000) Subject: Correct ast_db_deltree documentation X-Git-Tag: 1.8.5-rc1~11^2~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b304546811050c240dd891c05fcd5681db04c6c8;p=thirdparty%2Fasterisk.git 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/branches/1.8@322865 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/astdb.h b/include/asterisk/astdb.h index 4c1fa58909..cfbebbc301 100644 --- a/include/asterisk/astdb.h +++ b/include/asterisk/astdb.h @@ -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);