From 3183e7c96e7f66d9f0b215d549912411b146dd77 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 22 Jan 2010 14:54:40 +0100 Subject: 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. --- tools/iphonesyslog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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; -- cgit v1.1-32-gdbae