summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-09-01 11:19:38 +0200
committerGravatar Nikias Bassen2023-09-01 11:19:38 +0200
commit30e678d4e76a9f4f8a550c34457dab73909bdd92 (patch)
treeac781ef45d31bc6a53d22937944eabcd66580a7b
parent8d30a559cf0585625d9d05dc8ce0dd495b1de4f4 (diff)
downloadlibusbmuxd-30e678d4e76a9f4f8a550c34457dab73909bdd92.tar.gz
libusbmuxd-30e678d4e76a9f4f8a550c34457dab73909bdd92.tar.bz2
iproxy: Fix typo in log messages
Thanks to @p0358 for reporting.
-rw-r--r--tools/iproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iproxy.c b/tools/iproxy.c
index d5f66b6..6b8a345 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -154,10 +154,10 @@ static void *acceptor_thread(void *arg)
if (!socket_addr_to_string(saddr, addrtxt, sizeof(addrtxt))) {
fprintf(stderr, "Failed to convert network address: %d (%s)\n", errno, strerror(errno));
}
- fprintf(stdout, "Requesting connecion to NETWORK device %s (serial: %s), port %d\n", addrtxt, dev->udid, cdata->device_port);
+ fprintf(stdout, "Requesting connection to NETWORK device %s (serial: %s), port %d\n", addrtxt, dev->udid, cdata->device_port);
cdata->sfd = socket_connect_addr(saddr, cdata->device_port);
} else if (dev->conn_type == CONNECTION_TYPE_USB) {
- fprintf(stdout, "Requesting connecion to USB device handle %d (serial: %s), port %d\n", dev->handle, dev->udid, cdata->device_port);
+ fprintf(stdout, "Requesting connection to USB device handle %d (serial: %s), port %d\n", dev->handle, dev->udid, cdata->device_port);
cdata->sfd = usbmuxd_connect(dev->handle, cdata->device_port);
}