gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6886 - GNUnet/src/util/boot


From: gnunet
Subject: [GNUnet-SVN] r6886 - GNUnet/src/util/boot
Date: Sun, 25 May 2008 22:00:02 -0600 (MDT)

Author: grothoff
Date: 2008-05-25 22:00:02 -0600 (Sun, 25 May 2008)
New Revision: 6886

Modified:
   GNUnet/src/util/boot/startup.c
Log:
handle GIP failure

Modified: GNUnet/src/util/boot/startup.c
===================================================================
--- GNUnet/src/util/boot/startup.c      2008-05-26 03:25:16 UTC (rev 6885)
+++ GNUnet/src/util/boot/startup.c      2008-05-26 04:00:02 UTC (rev 6886)
@@ -211,8 +211,11 @@
 #if ENABLE_NLS
   setlocale (LC_ALL, "");
   path = GNUNET_get_installation_path (GNUNET_IPK_LOCALEDIR);
-  BINDTEXTDOMAIN ("GNUnet", path);
-  GNUNET_free (path);
+  if (path != NULL)
+    {
+      BINDTEXTDOMAIN ("GNUnet", path);
+      GNUNET_free (path);
+    }
   textdomain ("GNUnet");
 #endif
   is_daemon = 0 == strcmp (GNUNET_DEFAULT_DAEMON_CONFIG_FILE, *cfgFileName);





reply via email to

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