http://bugzilla.spamassassin.org/show_bug.cgi?id=3506





------- Additional Comments From [EMAIL PROTECTED]  2004-07-27 11:47 -------
I think I'm remembering why I try to avoid looking at this code.

in utils.c:

fd_timeout_read()
  - shouldn't we try to read again on origerr == EINTR ?
ssl_timeout_read()
  - this should return type ssize_t (change the function type and cast the int
    at the end)
we should delete the typedef int ssize_t in utils.c

in libspamc.c:

bytesread should be type ssize_t

do something like:

+       if (bytesread == (ssize_t) -1) {
+           libspamc_log(flags, LOG_ERR, "read returned -1");
+           failureval = EX_IOERR;
+           goto failure;
+       }

(before the '\n' checking)




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to