Commit: 23fed61b1f3385f6f2d5c98cea8e8536ef5d3be1
Parent: 7041b13a4602b1350296a538e9ad0f596cbd1266
Author: Johan Hedberg <johan.hedberg@nokia.com>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-31 10:18:45
Tree: 0f27bd171c8b2a6789fad788e0a75aa7113ca92e

Fix discovery callback usage The start_discovery function was used both as a GLib callback as well as directly called function that can return a negative integer as error. This will obviously not work since GLib expects a gboolean return (a negative return value would have an undefined result). This patch fixes the issue creating a separate function to be used as the GLib callback.

Diffstat

M src/adapter.c | 34 +++++++++++++++++++++- - - - - - - - - - - - -

1 files changed, 21 insertions(+), 13 deletions(-)

View Full Diff | Patch