summaryrefslogtreecommitdiff
path: root/src/libwpactrl/wpactrl_querysa.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-01 19:36:38 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-01 19:36:38 +0000
commit69099d84949a8044fdfc74e9d7ff6b9e57fc0bcd (patch)
tree9c97923869ff4f56717d7e0ac97c8588f816c798 /src/libwpactrl/wpactrl_querysa.c
parent22a1dc61ef8e4e1c98e3a088db1dbc84d424c7a7 (diff)
downloadbcnm-69099d84949a8044fdfc74e9d7ff6b9e57fc0bcd.tar.xz
Flesh out libwpactrl
Diffstat (limited to 'src/libwpactrl/wpactrl_querysa.c')
-rw-r--r--src/libwpactrl/wpactrl_querysa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libwpactrl/wpactrl_querysa.c b/src/libwpactrl/wpactrl_querysa.c
index fe06202..887941f 100644
--- a/src/libwpactrl/wpactrl_querysa.c
+++ b/src/libwpactrl/wpactrl_querysa.c
@@ -5,10 +5,10 @@
#include <bcnm/wpactrl.h>
#include "wpactrl-internal.h"
-int wpactrl_querysa (wpactrl_t *a, char const *s, size_t len, stralloc *sa, tain_t const *deadline, tain_t *stamp)
+int wpactrl_querysa (wpactrl_t *a, char const *s, size_t len, stralloc *sa, tain_t *stamp)
{
char buf[WPACTRL_PACKET_MAX] ;
- ssize_t r = wpactrl_query(a, s, len, buf, WPACTRL_PACKET_MAX, deadline, stamp) ;
+ ssize_t r = wpactrl_query(a, s, len, buf, WPACTRL_PACKET_MAX, stamp) ;
if (r < 0) return 0 ;
if (!r) return (errno = EPIPE, 0) ;
return stralloc_catb(sa, buf, r) ;