diff options
author | Krisztian Litkey <krisztian.litkey@nokia.com> | 2010-07-21 17:23:13 +0300 |
---|---|---|
committer | Krisztian Litkey <krisztian.litkey@nokia.com> | 2010-07-21 17:23:13 +0300 |
commit | 46c6298be3725bd9313bc22172914f108ded0d71 (patch) | |
tree | 7b4c30906292854f88cf91efb3fbb34b39463364 | |
parent | 4ccf07d429dd829759b2db1b43588bd242fb21bc (diff) |
Don't return random value from resource_set_configure_advice_callback.
-rw-r--r-- | src/resource.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resource.c b/src/resource.c index 18c4e70..15fa26d 100644 --- a/src/resource.c +++ b/src/resource.c @@ -218,7 +218,10 @@ EXPORT int resource_set_configure_advice_callback(resource_set_t *rs, if (rs != NULL) { rs->advicecb.function = advcb; rs->advicecb.data = advdata; + return TRUE; } + else + return FALSE; } |