Commit 1b37e49b authored by Per Cederqvist's avatar Per Cederqvist

Only allow one call to set-client-version. Allow set-info with

motd_of_lyskom set to 0.  Fixed the error-status of
find-previous-text-no.  Documentation fixes and updates.  More test
cases.
parent 4a717762
1998-10-22 Per Cederqvist <ceder@gratia>
More test cases.
* src/server/testsuite/config/unix.exp (extracting_expect): New proc.
* src/server/testsuite/lyskomd.0/03.exp: Test call 46-85.
* src/server/testsuite/renumber.el
(renumber-lyskom-send-simple-expect): Handle extracting_expect.
Only allow one call to set-client-version.
* src/include/kom-errno.h (KOM_CLIENT_IS_CRAZY): Old favourite
resurrected.
* src/server/session.c (set_client_version): Fail if the client
version already was set.
Allow set-info with motd_of_lyskom set to 0.
* src/server/admin.c (set_info): Allow motd_of_lyskom to be 0.
Fixed the error-status of find-previous-text-no.
* src/server/text.c (greater): Added const qualifier.
(find_previous_text_no): Fixed the returned error status.
* src/server/testsuite/lyskomd.0/01.exp: Adjusted to the error
status that is now returned by the bug-fixed find_previous_text_no.
Documentation fixes and updates.
* doc/Protocol-A.texi (send-message): Document that recipient 0
means that the message is sent to all sessions.
(get-last-text): Say that this relies on all texts being written
in chronological order.
(set-client-version): This call can only be used once per
session. It will return client-is-crazy if used twice.
(get-client-version): This was called "get-client-name".
(mark-text): Bogus example fixed.
(unmark-text): Bogus example fixed.
(lookup-z-name): The want-pers and want-confs arguments were
swapped in the function header.
(set-info): Document that lyskomd 1.9.0 erroneously returned
text-zero if MOTD was 0.
1998-10-17 Per Cederqvist <ceder@gratia>
More tests.
......
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