git » nmdb » commit 21d53a7

Fix libnmdb.3 nmdb_*get return types.

author Alberto Bertogli
2007-06-28 21:55:46 UTC
committer Alberto Bertogli
2007-06-29 05:21:28 UTC
parent 754fc49700beb93ec03f2038fe01ebfbfc134cff

Fix libnmdb.3 nmdb_*get return types.

The get functions returns ssize_t, not int.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

libnmdb/libnmdb.3 +2 -2

diff --git a/libnmdb/libnmdb.3 b/libnmdb/libnmdb.3
index 72cb400..0a4b765 100644
--- a/libnmdb/libnmdb.3
+++ b/libnmdb/libnmdb.3
@@ -21,10 +21,10 @@ libnmdb - Library for interacting with a nmdb server
 .BI "             const unsigned char *" key ", size_t " ksize ","
 .BI "             const unsigned char *" val ", size_t " vsize ");"
 .sp
-.BI "int nmdb_get(nmdb_t *" db ","
+.BI "ssize_t nmdb_get(nmdb_t *" db ","
 .BI "             const unsigned char *" key ", size_t " ksize ","
 .BI "             unsigned char *" val ", size_t " vsize ");"
-.BI "int nmdb_cache_get(nmdb_t *" db ","
+.BI "ssize_t nmdb_cache_get(nmdb_t *" db ","
 .BI "             const unsigned char *" key ", size_t " ksize ","
 .BI "             unsigned char *" val ", size_t " vsize ");"
 .sp