summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-14 08:42:51 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-14 08:42:51 +0100
commit29e8c99a7a028ba729bb0f910611efa13f94cd35 (patch)
treed66ead6075c9abd5acbe504665292cc9dd6c94dc /tests
parent1bc864bfcdd7e57d3c049a1f5a8cd66c59c08b7a (diff)
parent8d28cc6894828fd49b909cbbd0bd9ce818f00176 (diff)
downloadrsyslog-29e8c99a7a028ba729bb0f910611efa13f94cd35.tar.gz
rsyslog-29e8c99a7a028ba729bb0f910611efa13f94cd35.tar.bz2
rsyslog-29e8c99a7a028ba729bb0f910611efa13f94cd35.zip
Merge branch 'v7-stable-libnet-frag'
Conflicts: ChangeLog
Diffstat (limited to 'tests')
-rw-r--r--tests/tcpflood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcpflood.c b/tests/tcpflood.c
index db65b7de..b3cef2e0 100644
--- a/tests/tcpflood.c
+++ b/tests/tcpflood.c
@@ -347,7 +347,7 @@ genMsg(char *buf, size_t maxBuf, int *pLenBuf, struct instdata *inst)
/* get message from file */
do {
done = 1;
- *pLenBuf = fread(buf, 1, 1024, dataFP);
+ *pLenBuf = fread(buf, 1, MAX_EXTRADATA_LEN + 1024, dataFP);
if(*pLenBuf == 0) {
if(--numFileIterations > 0) {
rewind(dataFP);