[PATCH] connection to device fails on new setup
Reported by Nikias Bassen | August 3rd, 2009 @ 11:11 PM | in 1.2.0 Release
When trying to connect to my iPhone on a new setup (i.e. a system on which I never used it before), libiphone is not able to connect to the device as it fails to generate a HostID. Patch fixing this is attached.
Comments and changes to this ticket
-
Matt Colyer August 4th, 2009 @ 04:09 PM
- State changed from new to resolved
(from [04dc8e66956ff66f6438fd3ca151d58f528a03ea]) Invalid check for host_id in userpref_get_host_id
On a system without a previous pairing, libiphone fails
to connect to the device:userpref_get_host_id: Using (null) as HostID
The code checks if host_id is NULL but it needs to check
if *host_id is NULL, otherwise it won't generate a new HostID.[#69 state:resolved]
Signed-off-by: Matt Colyer matt@colyer.name
http://github.com/MattColyer/libiphone/commit/04dc8e66956ff66f6438f...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org