Hello,
attached please find a patch that does the following:
- it eliminates a memset() and replaces it by manually terminating
the string received from spamd.
- it removes a double close(spamd_sock)
- makes most global variables defined in spam.c static
- logs a message in case spamd returns no data.
The last change helped me debug a problem that turned out to be caused
by spamd clients dieing.
Please consider the patch for applying.
Best Regards
Jens Taprogge
attached please find a patch that does the following:
- it eliminates a memset() and replaces it by manually terminating
the string received from spamd.
- it removes a double close(spamd_sock)
- makes most global variables defined in spam.c static
- logs a message in case spamd returns no data.
The last change helped me debug a problem that turned out to be caused
by spamd clients dieing.
Please consider the patch for applying.
Best Regards
Jens Taprogge