summaryrefslogtreecommitdiffabout
path: root/lib
authorSergey Poznyakoff <gray@gnu.org.ua>2004-06-02 11:04:07 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-06-02 11:04:07 (GMT)
commit12be7d8c26495b31e440a2a1217c558b46498662 (patch) (side-by-side diff)
tree349961422dd8ff33e0cd54bdb7e29ca0fa3ce907 /lib
parent74a4478087159a708de6cf5295a66bee91394cf1 (diff)
downloadmailutils-12be7d8c26495b31e440a2a1217c558b46498662.tar.gz
mailutils-12be7d8c26495b31e440a2a1217c558b46498662.tar.bz2
Revise the usage of return codes.
Diffstat (limited to 'lib') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/mu_dbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mu_dbm.c b/lib/mu_dbm.c
index 618d2a9..22c812b 100644
--- a/lib/mu_dbm.c
+++ b/lib/mu_dbm.c
@@ -275,7 +275,7 @@ mu_dbm_firstkey (DBM_FILE db)
key.data = NULL;
key.size = 0;
if (ret == DB_NOTFOUND)
- errno = ENOENT;
+ errno = MU_ERR_NOENT;
else
errno = ret;
}
@@ -299,7 +299,7 @@ mu_dbm_nextkey (DBM_FILE db, DBM_DATUM pkey /*unused*/)
key.data = NULL;
key.size = 0;
if (ret == DB_NOTFOUND)
- errno = ENOENT;
+ errno = MU_ERR_NOENT;
else
errno = ret;
}

Return to:

Send suggestions and report system problems to the System administrator.