diff options
Diffstat (limited to 'src/libwpactrl/wpactrl_query.c')
-rw-r--r-- | src/libwpactrl/wpactrl_query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libwpactrl/wpactrl_query.c b/src/libwpactrl/wpactrl_query.c index b8b42df..0bdf388 100644 --- a/src/libwpactrl/wpactrl_query.c +++ b/src/libwpactrl/wpactrl_query.c @@ -5,9 +5,9 @@ #include <bcnm/wpactrl.h> #include "wpactrl-internal.h" -ssize_t wpactrl_query (wpactrl_t *a, char const *q, char *ans, size_t ansmax, tain_t *stamp) +ssize_t wpactrl_query (wpactrl_t *a, char const *q, char *ans, size_t ansmax, tain *stamp) { - tain_t deadline ; + tain deadline ; tain_add(&deadline, stamp, &a->tto) ; if (!ipc_timed_send(a->fds, q, strlen(q), &deadline, stamp)) return WPA_ERROR ; return wpactrl_fd_timed_recv(a->fds, ans, ansmax, &deadline, stamp) ; |