Commit 293dacaf authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Return the error code long-array instead of a protocol error if a too

long array is sent to mark-as-read.  (Bug 836).  Get rid of
c_local_text_no_p -- use Number_list instead.
parent 3287af29
2003-08-20 Per Cederqvist <ceder@ceder.dyndns.org>
Return the error code long-array instead of a protocol error if
a too long array is sent to mark-as-read. (Bug 836). Get rid of
c_local_text_no_p -- use Number_list instead.
* src/server/fncdef.txt (mark_as_read): Changed the argument from
"num num c_local_text_no_p" to the more modern "num num_list".
* src/include/services.h (mark_as_read): Changed the arguments
"int no_of_text; const Local_text_no *text_arr" into a single more
modern-style Number_list argument.
* src/server/membership.c (mark_as_read): Changed the arguments
"int no_of_text; const Local_text_no *text_arr" into a single more
modern-style Number_list argument. Return KOM_LONG_ARRAY if the
array is too long. Simplified the code.
(set_read_ranges): Call CHK_CONNECTION before checking the
supplied read_ranges.
* src/server/prot-a.c (prot_a_init): Removed
handling of c_local_text_no_p.
(prot_a_destruct): Ditto.
* src/server/prot-a-parse-arg-c.awk: Removed
handling of c_local_text_no_p.
* src/server/internal-connections.c (init_connection): Removed
handling of c_local_text_no_p.
(kill_client): Ditto. But do check for left-over data in
num_list.
* src/server/connections.h (Connection): Removed
c_local_text_no_p.
* src/server/connections.c (free_parsed): Removed handling of
c_local_text_no_p.
* src/server/call-switch.awk: Removed handling of
c_local_text_no_p.
* src/server/testsuite/lyskomd.0/29.exp: Don't expect bug 836.
Send mail using sendmail, to avoid malformed mails. (Bug 185).
Make the path to sendmail configurable. Make it possible to turn
off mail delivery completely.
......
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