uasync: pass socket name to all add_socket call sites
This commit is contained in:
1 parent
c36cebe357
commit
b33caa56b8
31 files changed
+61
-59
No files matched your search
+1
-1
@@ -251,7 +251,7 @@ static void adns_rearm(struct adns_query* q) {
|
||||
}
|
||||
q->cur_fd = -1;
|
||||
if (fd >= 0) {
|
||||
q->socket_id = uasync_add_socket_t(q->ua, (socket_t)fd, adns_read_cb, adns_write_cb, NULL, q);
|
||||
q->socket_id = uasync_add_socket_t(q->ua, (socket_t)fd, adns_read_cb, adns_write_cb, NULL, "dns_query", q);
|
||||
if (q->socket_id) q->cur_fd = fd;
|
||||
else DEBUG_ERROR(ADNS_DEBUG_CAT, "adns: uasync_add_socket_t(%d) failed", fd);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user