diff options
author | Nikias Bassen | 2010-01-13 01:29:18 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-13 01:33:23 +0100 |
commit | 5c19d486959454560515666b0d250c20d9938d00 (patch) | |
tree | eae7b93c0db7633544629ccd235be522bd828c7a /src | |
parent | 09deb301542d5db0b5371c3ccd2aed41ad98ef1c (diff) | |
download | libimobiledevice-5c19d486959454560515666b0d250c20d9938d00.tar.gz libimobiledevice-5c19d486959454560515666b0d250c20d9938d00.tar.bz2 |
iphone: rename dst_port to port for consistency
Diffstat (limited to 'src')
-rw-r--r-- | src/iphone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iphone.c b/src/iphone.c index b677220..6d95c45 100644 --- a/src/iphone.c +++ b/src/iphone.c @@ -202,20 +202,20 @@ iphone_error_t iphone_device_free(iphone_device_t device) * Set up a connection to the given device. * * @param device The device to connect to. - * @param dst_port The destination port to connect to. + * @param port The destination port to connect to. * @param connection Pointer to an iphone_connection_t that will be filled * with the necessary data of the connection. * * @return IPHONE_E_SUCCESS if ok, otherwise an error code. */ -iphone_error_t iphone_device_connect(iphone_device_t device, uint16_t dst_port, iphone_connection_t *connection) +iphone_error_t iphone_device_connect(iphone_device_t device, uint16_t port, iphone_connection_t *connection) { if (!device) { return IPHONE_E_INVALID_ARG; } if (device->conn_type == CONNECTION_USBMUXD) { - int sfd = usbmuxd_connect((uint32_t)(device->conn_data), dst_port); + int sfd = usbmuxd_connect((uint32_t)(device->conn_data), port); if (sfd < 0) { debug_info("ERROR: Connecting to usbmuxd failed: %d (%s)", sfd, strerror(-sfd)); return IPHONE_E_UNKNOWN_ERROR; |