diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:21:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:21:34 +0000 |
commit | de30f210414a1f1f296c0cfb4406b171c1fc7b62 (patch) | |
tree | 570cc93d141bb7e250c4e73fafc53eba7d6e70bc /src/util/common_logging.c | |
parent | 652e255add3511262060f3a13517716a72e3cb52 (diff) |
generally use GNUNET_assert() instead of GNUNET_abort() to also log the error
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r-- | src/util/common_logging.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c index 747b80a637..695b49913e 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -281,7 +281,7 @@ resize_logdefs () * Abort the process, generate a core dump if possible. */ void -GNUNET_abort () +GNUNET_abort_ () { #if WINDOWS DebugBreak (); @@ -1253,7 +1253,7 @@ GNUNET_util_cl_init () #endif #if WINDOWS if (!InitializeCriticalSectionAndSpinCount (&output_message_cs, 0x00000400)) - GNUNET_abort (); + GNUNET_abort_ (); #endif } |