summaryrefslogtreecommitdiffstats
path: root/libipulog/ulog_test.c
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-07-31 10:40:55 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-07-31 10:40:55 +0200
commita52690d2dbb0e14d705ba990cda9b7869a747c0b (patch)
tree6d2a060110e09216e5ed85c101531aef85e4db44 /libipulog/ulog_test.c
parent507184089236463df25119a4274f4c7dafa60292 (diff)
cleanup: remove unused timeout parameter in function
The function ipulog_read had a timeout parameter which was not used in the code. Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libipulog/ulog_test.c')
-rw-r--r--libipulog/ulog_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libipulog/ulog_test.c b/libipulog/ulog_test.c
index c891764..fd9c925 100644
--- a/libipulog/ulog_test.c
+++ b/libipulog/ulog_test.c
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
/* loop receiving packets and handling them over to handle_packet */
for (i = 0; i < atoi(argv[1]); i++) {
- len = ipulog_read(h, buf, MYBUFSIZ, 1);
+ len = ipulog_read(h, buf, MYBUFSIZ);
if (len <= 0) {
ipulog_perror("ulog_test: short read");
exit(1);