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) | |
download | gnunet-de30f210414a1f1f296c0cfb4406b171c1fc7b62.tar.gz gnunet-de30f210414a1f1f296c0cfb4406b171c1fc7b62.zip |
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 747b80a63..695b49913 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c | |||
@@ -281,7 +281,7 @@ resize_logdefs () | |||
281 | * Abort the process, generate a core dump if possible. | 281 | * Abort the process, generate a core dump if possible. |
282 | */ | 282 | */ |
283 | void | 283 | void |
284 | GNUNET_abort () | 284 | GNUNET_abort_ () |
285 | { | 285 | { |
286 | #if WINDOWS | 286 | #if WINDOWS |
287 | DebugBreak (); | 287 | DebugBreak (); |
@@ -1253,7 +1253,7 @@ GNUNET_util_cl_init () | |||
1253 | #endif | 1253 | #endif |
1254 | #if WINDOWS | 1254 | #if WINDOWS |
1255 | if (!InitializeCriticalSectionAndSpinCount (&output_message_cs, 0x00000400)) | 1255 | if (!InitializeCriticalSectionAndSpinCount (&output_message_cs, 0x00000400)) |
1256 | GNUNET_abort (); | 1256 | GNUNET_abort_ (); |
1257 | #endif | 1257 | #endif |
1258 | } | 1258 | } |
1259 | 1259 | ||