[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16867 - gnunet-gtk/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16867 - gnunet-gtk/src/fs |
Date: |
Thu, 15 Sep 2011 15:31:36 +0200 |
Author: grothoff
Date: 2011-09-15 15:31:36 +0200 (Thu, 15 Sep 2011)
New Revision: 16867
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c
Log:
possibly fixing 1761
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c 2011-09-15 13:26:57 UTC
(rev 16866)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c 2011-09-15 13:31:36 UTC
(rev 16867)
@@ -964,11 +964,12 @@
stop_search (GtkButton * button, gpointer user_data)
{
struct SearchTab *tab = user_data;
+ struct GNUNET_FS_SearchContext *sc;
- if (tab->sc != NULL)
+ if (NULL != (sc = tab->sc))
{
- GNUNET_FS_search_stop (tab->sc);
tab->sc = NULL;
+ GNUNET_FS_search_stop (sc);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16867 - gnunet-gtk/src/fs,
gnunet <=