git » nmdb » commit 77d14f5

Document the return value of nmdb_add_*_server().

author Alberto Bertogli
2007-06-24 07:44:27 UTC
committer Alberto Bertogli
2007-06-24 07:44:27 UTC
parent c729f8b48122383fc2a3f030b2acc002f25c3778

Document the return value of nmdb_add_*_server().

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

libnmdb/libnmdb.3 +2 -1

diff --git a/libnmdb/libnmdb.3 b/libnmdb/libnmdb.3
index 76c1d33..72cb400 100644
--- a/libnmdb/libnmdb.3
+++ b/libnmdb/libnmdb.3
@@ -65,7 +65,8 @@ the database. For
 .B nmdb_add_tcp_server()
 and
 .BR nmdb_add_udp_server() ,
-if you pass -1 as the port, it will select the default one.
+if you pass -1 as the port, it will select the default one. They return 1 on
+success or 0 on error (or if the specified protocol was not compiled in).
 
 
 To dispose a connection, use