summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/isc/unix/socket.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2020-05-10 06:46:51 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2020-05-10 06:46:51 +0000
commit0d4ce0deb4c317abcbaa2828c1ca6e82d8c8abc4 (patch)
treed9d6141b7349c4ff7f561cc65b7c2e615a4e8003 /usr.bin/dig/lib/isc/unix/socket.c
parent9b109e77c7175b11d8657b443165bef46b32c81b (diff)
fix socket_log() calls, EVENT expands to three comma separated
values; spotted by gcc; ok florian@
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/socket.c')
-rw-r--r--usr.bin/dig/lib/isc/unix/socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/dig/lib/isc/unix/socket.c b/usr.bin/dig/lib/isc/unix/socket.c
index dd803bc27a8..e96cbff0294 100644
--- a/usr.bin/dig/lib/isc/unix/socket.c
+++ b/usr.bin/dig/lib/isc/unix/socket.c
@@ -1454,7 +1454,7 @@ dispatch_recv(isc_socket_t *sock) {
ev = ISC_LIST_HEAD(sock->recv_list);
if (ev == NULL)
return;
- socket_log(sock, NULL, EVENT, NULL, 0, 0,
+ socket_log(sock, NULL, EVENT,
"dispatch_recv: event %p -> task %p",
ev, ev->ev_sender);
sender = ev->ev_sender;
@@ -1481,7 +1481,7 @@ dispatch_send(isc_socket_t *sock) {
ev = ISC_LIST_HEAD(sock->send_list);
if (ev == NULL)
return;
- socket_log(sock, NULL, EVENT, NULL, 0, 0,
+ socket_log(sock, NULL, EVENT,
"dispatch_send: event %p -> task %p",
ev, ev->ev_sender);
sender = ev->ev_sender;
@@ -1970,7 +1970,7 @@ socket_recv(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task,
select_poke(sock->manager, sock->fd, SELECT_POKE_READ);
ISC_LIST_ENQUEUE(sock->recv_list, dev, ev_link);
- socket_log(sock, NULL, EVENT, NULL, 0, 0,
+ socket_log(sock, NULL, EVENT,
"socket_recv: event %p -> task %p",
dev, ntask);
@@ -2102,7 +2102,7 @@ socket_send(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task,
SELECT_POKE_WRITE);
ISC_LIST_ENQUEUE(sock->send_list, dev, ev_link);
- socket_log(sock, NULL, EVENT, NULL, 0, 0,
+ socket_log(sock, NULL, EVENT,
"socket_send: event %p -> task %p",
dev, ntask);