summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-05-24 17:45:53 +0200
committerGravatar Nikias Bassen2010-05-26 01:39:27 +0200
commitab307f36413a767cc45f4d0b6063e6a5e0306217 (patch)
treeeb0e1f22009bb34886e35263a6af675a7efc7668
parentdfc1c8653b4da6086e6c241f50503e9a011066d4 (diff)
downloadusbmuxd-ab307f36413a767cc45f4d0b6063e6a5e0306217.tar.gz
usbmuxd-ab307f36413a767cc45f4d0b6063e6a5e0306217.tar.bz2
libusbmuxd: use connect_usbmuxd_socket instead of connect_unix_socket
... inside usbmuxd_get_device_list. This makes sure it works on win32 systems.
-rw-r--r--libusbmuxd/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index bf8a31f..9c48ea1 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -317,7 +317,7 @@ int usbmuxd_get_device_list(usbmuxd_device_info_t **device_list)
struct usbmuxd_device_record dev_info;
int dev_cnt = 0;
- sfd = connect_unix_socket(USBMUXD_SOCKET_FILE);
+ sfd = connect_usbmuxd_socket();
if (sfd < 0) {
fprintf(stderr, "%s: error opening socket!\n", __func__);
return sfd;