gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35317 - gnunet-gtk/src/lib


From: gnunet
Subject: [GNUnet-SVN] r35317 - gnunet-gtk/src/lib
Date: Sat, 28 Feb 2015 17:22:36 +0100

Author: grothoff
Date: 2015-02-28 17:22:36 +0100 (Sat, 28 Feb 2015)
New Revision: 35317

Modified:
   gnunet-gtk/src/lib/os_installation.c
Log:
generally use GNUNET_assert() instead of GNUNET_abort() to also log the error

Modified: gnunet-gtk/src/lib/os_installation.c
===================================================================
--- gnunet-gtk/src/lib/os_installation.c        2015-02-28 16:21:34 UTC (rev 
35316)
+++ gnunet-gtk/src/lib/os_installation.c        2015-02-28 16:22:36 UTC (rev 
35317)
@@ -159,7 +159,7 @@
     real_pathlen = GetModuleFileNameW (dll_instance, modulepath, pathlen * 
sizeof (wchar_t));
   } while (real_pathlen >= pathlen && pathlen < 16*1024);
   if (real_pathlen >= pathlen)
-    GNUNET_abort ();
+    GNUNET_assert (0);
   /* To be safe */
   modulepath[real_pathlen] = '\0';
 
@@ -201,7 +201,7 @@
   /* modulepath is GNUNET_PREFIX */
   u8_string = g_utf16_to_utf8 (modulepath, -1, NULL, &u8_string_length, NULL);
   if (NULL == u8_string)
-    GNUNET_abort ();
+    GNUNET_assert (0);
 
   upath = GNUNET_malloc (u8_string_length + 1);
   memcpy (upath, u8_string, u8_string_length);




reply via email to

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