aboutsummaryrefslogtreecommitdiff
path: root/src/fs_event_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs_event_handler.c')
-rw-r--r--src/fs_event_handler.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fs_event_handler.c b/src/fs_event_handler.c
index 009e4933..3748f7ea 100644
--- a/src/fs_event_handler.c
+++ b/src/fs_event_handler.c
@@ -1371,7 +1371,7 @@ GNUNET_GTK_add_search_result (struct SearchTab *tab,
1371 EXTRACTOR_METATYPE_ALBUM, 1371 EXTRACTOR_METATYPE_ALBUM,
1372 EXTRACTOR_METATYPE_COMMENT, 1372 EXTRACTOR_METATYPE_COMMENT,
1373 EXTRACTOR_METATYPE_SUBJECT, 1373 EXTRACTOR_METATYPE_SUBJECT,
1374 EXTRACTOR_METATYPE_KEYWORDS 1374 EXTRACTOR_METATYPE_KEYWORDS,
1375 -1); 1375 -1);
1376 if (desc == NULL) 1376 if (desc == NULL)
1377 desc = GNUNET_strdup (_("no description supplied")); 1377 desc = GNUNET_strdup (_("no description supplied"));
@@ -1571,7 +1571,7 @@ update_search_result (struct SearchResult *sr,
1571 EXTRACTOR_METATYPE_ALBUM, 1571 EXTRACTOR_METATYPE_ALBUM,
1572 EXTRACTOR_METATYPE_COMMENT, 1572 EXTRACTOR_METATYPE_COMMENT,
1573 EXTRACTOR_METATYPE_SUBJECT, 1573 EXTRACTOR_METATYPE_SUBJECT,
1574 EXTRACTOR_METATYPE_KEYWORDS 1574 EXTRACTOR_METATYPE_KEYWORDS,
1575 -1); 1575 -1);
1576 if (desc == NULL) 1576 if (desc == NULL)
1577 desc = GNUNET_strdup (_("no description supplied")); 1577 desc = GNUNET_strdup (_("no description supplied"));
@@ -1668,11 +1668,12 @@ stop_publishing (GtkButton *button,
1668 gpointer user_data) 1668 gpointer user_data)
1669{ 1669{
1670 struct PublishTab *tab = user_data; 1670 struct PublishTab *tab = user_data;
1671 struct GNUNET_FS_PublishContext *pc;
1671 1672
1672 if (tab->pc != NULL) 1673 if (NULL != (pc = tab->pc))
1673 { 1674 {
1674 GNUNET_FS_publish_stop (tab->pc);
1675 tab->pc = NULL; 1675 tab->pc = NULL;
1676 GNUNET_FS_publish_stop (pc);
1676 } 1677 }
1677} 1678}
1678 1679