summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils.c b/utils.c
index 92e607d..49b8537 100644
--- a/utils.c
+++ b/utils.c
@@ -224,7 +224,7 @@ connect_cb(struct uring_task *task, int res)
conn = task->priv;
if (res < 0) {
- debug(DBG_UR, "%s: connection to %s failed",
+ debug(DBG_SRV, "%s: connection to %s failed",
task->name, conn->remote.addrstr);
uring_task_close_fd(task);
connect_next(task, conn);
@@ -233,7 +233,7 @@ connect_cb(struct uring_task *task, int res)
connection_set_local(conn, task->fd);
- debug(DBG_UR, "%s: connection established %s -> %s",
+ debug(DBG_SRV, "%s: connection established %s -> %s",
task->name, conn->local.addrstr, conn->remote.addrstr);
conn->cb(conn, true);
@@ -261,14 +261,14 @@ again:
}
if (!remote) {
- debug(DBG_UR, "%s: no more remote addresses to attempt",
+ debug(DBG_SRV, "%s: no more remote addresses to attempt",
task->name);
goto out;
}
conn->next_addr++;
connection_set_remote(conn, remote);
- debug(DBG_MALLOC, "%s: attempting to connect to %s",
+ debug(DBG_SRV, "%s: attempting to connect to %s",
task->name, conn->remote.addrstr);
sfd = socket(conn->remote.storage.ss_family, SOCK_STREAM | SOCK_CLOEXEC, 0);