diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-06 08:43:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-06 08:43:31 +0000 |
commit | 3a7b28fc0f3fc768aa2502d466351f235e3cad5d (patch) | |
tree | cd3c13fd162be20f3da55b29fd39f0ee02a7491e /src/fs | |
parent | 6b5e7e1a1136296bf8981baffebd8f4dbf90b79e (diff) | |
download | gnunet-gtk-3a7b28fc0f3fc768aa2502d466351f235e3cad5d.tar.gz gnunet-gtk-3a7b28fc0f3fc768aa2502d466351f235e3cad5d.zip |
handling API change from addressing #3431
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c index c94b9c66..38f3537d 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.c +++ b/src/fs/gnunet-fs-gtk_event-handler.c | |||
@@ -2246,7 +2246,7 @@ see_if_there_are_any_uris (void *cls, | |||
2246 | * was part of a directory) | 2246 | * was part of a directory) |
2247 | * @param applicability_rank how relevant is the result | 2247 | * @param applicability_rank how relevant is the result |
2248 | * @return struct representing the search result (also stored in the tree | 2248 | * @return struct representing the search result (also stored in the tree |
2249 | * model at 'iter') | 2249 | * model) |
2250 | */ | 2250 | */ |
2251 | struct SearchResult * | 2251 | struct SearchResult * |
2252 | GNUNET_GTK_add_search_result (struct SearchTab *tab, | 2252 | GNUNET_GTK_add_search_result (struct SearchTab *tab, |
@@ -2512,6 +2512,7 @@ process_search_result (struct SearchTab *tab, | |||
2512 | uri, | 2512 | uri, |
2513 | meta, result, applicability_rank); | 2513 | meta, result, applicability_rank); |
2514 | update_search_label (tab); | 2514 | update_search_label (tab); |
2515 | GNUNET_break (NULL != sr); | ||
2515 | return sr; | 2516 | return sr; |
2516 | } | 2517 | } |
2517 | 2518 | ||
@@ -3978,6 +3979,7 @@ GNUNET_GTK_fs_event_handler (void *cls, | |||
3978 | info->value.search.specifics.resume_result. | 3979 | info->value.search.specifics.resume_result. |
3979 | availability_certainty, | 3980 | availability_certainty, |
3980 | GNUNET_TIME_UNIT_ZERO); | 3981 | GNUNET_TIME_UNIT_ZERO); |
3982 | GNUNET_break (NULL != ret); | ||
3981 | return ret; | 3983 | return ret; |
3982 | case GNUNET_FS_STATUS_SEARCH_SUSPEND: | 3984 | case GNUNET_FS_STATUS_SEARCH_SUSPEND: |
3983 | close_search_tab (info->value.search.cctx); | 3985 | close_search_tab (info->value.search.cctx); |