/*
- * $Id$
- *
* This module allows Citadel to use clamd to filter incoming messages
* arriving via SMTP. For more information on clamd, visit
* http://clamav.net (the ClamAV project is not in any way
return(0);
}
CCC=CC;
- CCC->sReadBuf = NewStrBuf();
+ CCC->SBuf.Buf = NewStrBuf();
CCC->sMigrateBuf = NewStrBuf();
- CCC->sPos = NULL;
+ CCC->SBuf.ReadWritePointer = NULL;
/* Command */
CtdlLogPrintf(CTDL_DEBUG, "Transmitting STREAM command\n");
/* If the service isn't running, just pass the mail
* through. Potentially throwing away mails isn't good.
*/
- FreeStrBuf(&CCC->sReadBuf);
+ FreeStrBuf(&CCC->SBuf.Buf);
FreeStrBuf(&CCC->sMigrateBuf);
return(0);
}
}
bail: close(sock);
- FreeStrBuf(&CCC->sReadBuf);
+ FreeStrBuf(&CCC->SBuf.Buf);
FreeStrBuf(&CCC->sMigrateBuf);
return(is_virus);
}
}
/* return our Subversion id for the Log */
- return "$Id$";
+ return "virus";
}