Commit 50f3977f authored by Bob Halley's avatar Bob Halley
Browse files

nits

parent 8e93971d
...@@ -1691,7 +1691,7 @@ isc_result_t ...@@ -1691,7 +1691,7 @@ isc_result_t
isc_socket_send(isc_socket_t *sock, isc_region_t *region, isc_socket_send(isc_socket_t *sock, isc_region_t *region,
isc_task_t *task, isc_taskaction_t action, void *arg) isc_task_t *task, isc_taskaction_t action, void *arg)
{ {
return isc_socket_sendto(sock, region, task, action, arg, NULL, 0); return (isc_socket_sendto(sock, region, task, action, arg, NULL, 0));
} }
isc_result_t isc_result_t
...@@ -1705,6 +1705,8 @@ isc_socket_sendto(isc_socket_t *sock, isc_region_t *region, ...@@ -1705,6 +1705,8 @@ isc_socket_sendto(isc_socket_t *sock, isc_region_t *region,
isc_task_t *ntask = NULL; isc_task_t *ntask = NULL;
int cc; int cc;
REQUIRE(VALID_SOCKET(sock));
manager = sock->manager; manager = sock->manager;
ev = (isc_socketevent_t *)isc_event_allocate(manager->mctx, sock, ev = (isc_socketevent_t *)isc_event_allocate(manager->mctx, sock,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment