summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-22 14:54:40 +0100
committerGravatar Martin Szulecki2010-01-22 14:54:40 +0100
commit3183e7c96e7f66d9f0b215d549912411b146dd77 (patch)
tree557d251fe890fe0ef947a041131bad5fa7204f18 /tools
parent1d10605fbffd2be498afdd4621f46842b831c23f (diff)
downloadlibimobiledevice-3183e7c96e7f66d9f0b215d549912411b146dd77.tar.gz
libimobiledevice-3183e7c96e7f66d9f0b215d549912411b146dd77.tar.bz2
Rename iphone_device_recv/_send functions to use iphone_connection_* domain
These communication functions operate on an iphone_connection_t, thus their function name should reflect that.
Diffstat (limited to 'tools')
-rw-r--r--tools/iphonesyslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iphonesyslog.c b/tools/iphonesyslog.c
index 017956e..41e490f 100644
--- a/tools/iphonesyslog.c
+++ b/tools/iphonesyslog.c
@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
char *receive = NULL;
uint32_t datalen = 0, bytes = 0, recv_bytes = 0;
- ret = iphone_device_recv(conn, (char *) &datalen, sizeof(datalen), &bytes);
+ ret = iphone_connection_receive(conn, (char *) &datalen, sizeof(datalen), &bytes);
datalen = ntohl(datalen);
if (datalen == 0)
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
receive = (char *) malloc(sizeof(char) * datalen);
while (!quit_flag && (recv_bytes <= datalen)) {
- ret = iphone_device_recv(conn, receive, datalen, &bytes);
+ ret = iphone_connection_receive(conn, receive, datalen, &bytes);
if (bytes == 0)
break;