gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r960 - GNUnet/src/conf


From: durner
Subject: [GNUnet-SVN] r960 - GNUnet/src/conf
Date: Sun, 19 Jun 2005 12:15:03 -0700 (PDT)

Author: durner
Date: 2005-06-19 12:14:59 -0700 (Sun, 19 Jun 2005)
New Revision: 960

Modified:
   GNUnet/src/conf/gconf.c
Log:
fix segfault

Modified: GNUnet/src/conf/gconf.c
===================================================================
--- GNUnet/src/conf/gconf.c     2005-06-19 17:10:32 UTC (rev 959)
+++ GNUnet/src/conf/gconf.c     2005-06-19 19:14:59 UTC (rev 960)
@@ -1121,7 +1121,9 @@
   if (path == NULL)
     return FALSE;
 
-  gtk_tree_model_get_iter(model2, &iter, path);
+  if (!gtk_tree_model_get_iter(model2, &iter, path))
+       return FALSE;
+  
   gtk_tree_model_get(model2, &iter, COL_MENU, &menu, -1);
 
   col = column2index(column);





reply via email to

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