summaryrefslogtreecommitdiffstats
path: root/libipulog
diff options
context:
space:
mode:
Diffstat (limited to 'libipulog')
-rw-r--r--libipulog/libipulog.c2
-rw-r--r--libipulog/ulog_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libipulog/libipulog.c b/libipulog/libipulog.c
index 8917bcc..6b7ea35 100644
--- a/libipulog/libipulog.c
+++ b/libipulog/libipulog.c
@@ -190,7 +190,7 @@ int ipulog_set_mode()
/* do a BLOCKING read on an ipulog handle */
ssize_t ipulog_read(struct ipulog_handle *h, unsigned char *buf,
- size_t len, int timeout)
+ size_t len)
{
return ipulog_netlink_recvfrom(h, buf, len);
}
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);