make the milter work in localsocket mode

git-svn: trunk@4785
0.95
aCaB 17 years ago
parent 6870ebe176
commit 5266f54ac0
  1. 4
      ChangeLog
  2. 1
      clamav-milter/clamfi.c

@ -1,3 +1,7 @@
Sat Feb 14 09:34:18 CET 2009 (acab)
-----------------------------------
* clamav-milter/clamfi.c: Correctly scan in FILDES mode
Fri Feb 13 19:21:24 EET 2009 (edwin)
------------------------------------
* shared/output.c, unit_tests/check_clamd.c: mdprintf was also

@ -80,6 +80,7 @@ static sfsistat sendchunk(struct CLAMFI *cf, unsigned char *bodyp, size_t len, S
len = maxfilesize - cf->totsz;
if(cf->local) {
cf->bufsz += len;
while(len) {
int n = write(cf->alt, bodyp, len);

Loading…
Cancel
Save