From e52da6fe75008174a254254ec83394766afb624b Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Mon, 25 Aug 2008 23:50:22 +0200 Subject: make it compile --- src/usbmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usbmux.c') diff --git a/src/usbmux.c b/src/usbmux.c index 48cb963..5e3f441 100644 --- a/src/usbmux.c +++ b/src/usbmux.c @@ -176,7 +176,7 @@ void iphone_mux_free_client ( iphone_umux_client_t client ) { bytes = usb_bulk_write(client->phone->device, BULKOUT, (char*)client->header, sizeof(usbmux_tcp_header), 800); if(debug && bytes < 0) - printf("mux_close_connection(): when writing, libusb gave me the error: %s\n", usb_strerror()); + printf("iphone_muxèfree_client(): when writing, libusb gave me the error: %s\n", usb_strerror()); bytes = usb_bulk_read(client->phone->device, BULKIN, (char*)client->header, sizeof(usbmux_tcp_header), 800); if(debug && bytes < 0) @@ -332,7 +332,7 @@ int iphone_mux_recv ( iphone_umux_client_t client, char *data, uint32_t datalen // Free our buffer and continue. free(buffer); buffer = NULL; - return mux_recv(client, data, datalen); // recurse back in to try again + return iphone_mux_recv(client, data, datalen); // recurse back in to try again } // The packet was absolutely meant for us if it hits this point. -- cgit v1.1-32-gdbae