mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2026-02-05 12:31:41 -05:00
fix warning
git-svn: trunk@4965
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
Fri Mar 20 20:10:26 EET 2009 (edwin)
|
||||
------------------------------------
|
||||
* unit_tests/check_clamd.c: fix warning
|
||||
|
||||
Thu Mar 19 19:25:08 CET 2009 (acab)
|
||||
-----------------------------------
|
||||
* clamav-milter: add option LogInfected
|
||||
|
||||
@@ -395,7 +395,7 @@ static int sendmsg_fd(int sockd, const char *mesg, size_t msg_len, int fd, int s
|
||||
iov[0].iov_len = 1;
|
||||
} else {
|
||||
/* send single message with ancillary data */
|
||||
fail_unless(msg_len < sizeof(dummy)-1);
|
||||
fail_unless(msg_len < sizeof(dummy)-1, "message too large");
|
||||
memcpy(dummy, mesg, msg_len);
|
||||
dummy[msg_len] = '\0';
|
||||
iov[0].iov_base = dummy;
|
||||
|
||||
Reference in New Issue
Block a user