gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19032 - gnunet-gtk/src/fs


From: gnunet
Subject: [GNUnet-SVN] r19032 - gnunet-gtk/src/fs
Date: Fri, 6 Jan 2012 09:52:11 +0100

Author: grothoff
Date: 2012-01-06 09:52:11 +0100 (Fri, 06 Jan 2012)
New Revision: 19032

Modified:
   gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c
Log:
-LRN: fix download by uri

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c     2012-01-06 08:50:07 UTC 
(rev 19031)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-event_handler.c     2012-01-06 08:52:11 UTC 
(rev 19032)
@@ -1269,8 +1269,11 @@
   do
   {
     gtk_tree_model_get (tm, &iter, 9, &sr, -1);
-    if ((sr->download != NULL) && (sr->download->is_done == GNUNET_YES))
-      GNUNET_FS_download_stop (sr->download->dc, GNUNET_YES);
+    if (sr->download != NULL)
+    {
+      if (sr->download->is_done == GNUNET_YES)
+        GNUNET_FS_download_stop (sr->download->dc, GNUNET_YES);
+    }
     else if (sr->result == NULL)
       free_search_result (sr);
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]