diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-25 14:20:45 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-25 14:20:45 +0200 |
commit | a853542b76cdd5604f11aa431867b9693b16e45f (patch) | |
tree | e19337d9e942ee0bc62fb08a60e0470b4868a344 /tests/tcpflood.c | |
parent | 1a0b77dc7154deea77dc4ca6417ff5ff62ff2ce7 (diff) | |
parent | b9549380270fa68e27e8ee3f049c7d34156a85ff (diff) | |
download | rsyslog-a853542b76cdd5604f11aa431867b9693b16e45f.tar.gz rsyslog-a853542b76cdd5604f11aa431867b9693b16e45f.tar.bz2 rsyslog-a853542b76cdd5604f11aa431867b9693b16e45f.zip |
Merge branch 'master' into solaris
Diffstat (limited to 'tests/tcpflood.c')
-rw-r--r-- | tests/tcpflood.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tcpflood.c b/tests/tcpflood.c index 9c17fd5b..c3c9c871 100644 --- a/tests/tcpflood.c +++ b/tests/tcpflood.c @@ -32,6 +32,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <signal.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> @@ -153,8 +154,6 @@ int sendMessages(void) int lenBuf; int lenSend; char buf[2048]; - char msgBuf[128]; - size_t lenMsg; srand(time(NULL)); /* seed is good enough for our needs */ |