Commit dd975bf9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

More bad-bool fixes.

parent 85b2643e
......@@ -15,6 +15,7 @@
(Error Codes): Document error code bad-bool.
(Protocol Version History): Mention bad-bool.
(Document Edition History): Mention bad-bool.
* NEWS: Added info about bad-bool.
* src/include/kom-errno.h (enum kom_err): Added KOM_BAD_BOOL.
* src/server/manipulate.h (CHK_BOOL): New macro.
* src/server/session.c (login): Call CHK_BOOL for invisible.
......@@ -32,6 +33,9 @@
(get_membership): Call CHK_BOOL for want_read_ranges.
* src/server/conference.c (lookup_z_name): Call CHK_BOOL for
want_persons and want_confs.
* src/server/testsuite/lyskomd.0/01.exp: Expect bad-bool, not
index-out-of-range, from set-connection-time-format(2).
* src/server/testsuite/lyskomd.0/03.exp: Ditto.
* src/server/testsuite/lyskomd.0/48.exp: New file: Test the
bad-bool error code.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment