summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/libusbmuxd.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-05-24 17:46:33 +0200
committerGravatar Nikias Bassen2010-05-26 01:39:27 +0200
commit91b0719dc73e47c32a9fa4e3c0e6068901c546d0 (patch)
tree7bac23d25937089b852bec4a8d01722ff7f342c0 /libusbmuxd/libusbmuxd.c
parentab307f36413a767cc45f4d0b6063e6a5e0306217 (diff)
downloadusbmuxd-91b0719dc73e47c32a9fa4e3c0e6068901c546d0.tar.gz
usbmuxd-91b0719dc73e47c32a9fa4e3c0e6068901c546d0.tar.bz2
libusbmuxd: use define for the win32 port number
Diffstat (limited to 'libusbmuxd/libusbmuxd.c')
-rw-r--r--libusbmuxd/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index 9c48ea1..9d54a88 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -68,7 +68,7 @@ static usbmuxd_device_info_t *devices_find(int handle)
static int connect_usbmuxd_socket()
{
#ifdef WIN32
- return connect_socket("127.0.0.1", 27015);
+ return connect_socket("127.0.0.1", USBMUXD_SOCKET_PORT);
#else
return connect_unix_socket(USBMUXD_SOCKET_FILE);
#endif