Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [04dc8e66956ff66f6438fd3ca151d58f528a03ea] by Nikias Bassen

Revision 04dc8e66956ff66f6438fd3ca151d58f528a03ea, committed 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...

1 changed file

  • M src/userpref.c