gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r17409 - gnunet-gtk/src/setup


From: gnunet
Subject: [GNUnet-SVN] r17409 - gnunet-gtk/src/setup
Date: Wed, 12 Oct 2011 15:08:49 +0200

Author: grothoff
Date: 2011-10-12 15:08:49 +0200 (Wed, 12 Oct 2011)
New Revision: 17409

Modified:
   gnunet-gtk/src/setup/gnunet-setup.c
Log:
check

Modified: gnunet-gtk/src/setup/gnunet-setup.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup.c 2011-10-12 13:06:43 UTC (rev 17408)
+++ gnunet-gtk/src/setup/gnunet-setup.c 2011-10-12 13:08:49 UTC (rev 17409)
@@ -274,7 +274,13 @@
 {
   struct GNUNET_CONFIGURATION_Handle *cfgDefault;
 
+  if (NULL == ml)
+  {
+    GNUNET_break (0);
+    return;
+  }
   GNUNET_GTK_main_loop_quit (ml);
+  ml = NULL;
   cfgDefault = GNUNET_CONFIGURATION_create ();
   (void) GNUNET_CONFIGURATION_load (cfgDefault, NULL);  /* load defaults only 
*/
   if (GNUNET_OK != GNUNET_CONFIGURATION_write_diffs (cfgDefault, cfg, cfgName))




reply via email to

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