summaryrefslogtreecommitdiffstats
path: root/src/usbmux.c
diff options
context:
space:
mode:
authorGravatar Zach C2008-08-12 00:31:56 -0700
committerGravatar Matt Colyer2008-08-12 00:31:56 -0700
commit8d5c88acc75871d2ec59793f312dc0fe0c54351f (patch)
tree0e57f34465af448972be39802d001e4fabdf311b /src/usbmux.c
parent2448b82a1844fbe7cf93bf357152d4936d0c9a4a (diff)
downloadlibplist-8d5c88acc75871d2ec59793f312dc0fe0c54351f.tar.gz
libplist-8d5c88acc75871d2ec59793f312dc0fe0c54351f.tar.bz2
Fixed seeking, also connections are no longer added twice.
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/usbmux.c')
-rw-r--r--src/usbmux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/usbmux.c b/src/usbmux.c
index 83797dd..d2ef49f 100644
--- a/src/usbmux.c
+++ b/src/usbmux.c
@@ -129,7 +129,6 @@ usbmux_connection *mux_connect(iPhone *phone, uint16 s_port, uint16 d_port) {
new_connection->header->tcp_flags = 0x10;
new_connection->header->scnt = 1;
new_connection->header->ocnt = 1;
- add_connection(new_connection);
new_connection->phone = phone;
new_connection->recv_buffer = NULL;
new_connection->r_len = 0;