Changeset [04dc8e66956ff66f6438fd3ca151d58f528a03ea] by Nikias Bassen

August 4th, 2009 @ 04:05 PM

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/lib...

Committed by Nikias Bassen

  • M src/userpref.c
New-ticket Create new ticket

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