[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6853 - GNUnet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6853 - GNUnet/src/include |
Date: |
Tue, 20 May 2008 14:47:22 -0600 (MDT) |
Author: durner
Date: 2008-05-20 14:47:22 -0600 (Tue, 20 May 2008)
New Revision: 6853
Modified:
GNUnet/src/include/gnunet_util_error.h
Log:
GNUNET_GE_BREAK_RETURN
Modified: GNUnet/src/include/gnunet_util_error.h
===================================================================
--- GNUnet/src/include/gnunet_util_error.h 2008-05-20 02:26:21 UTC (rev
6852)
+++ GNUnet/src/include/gnunet_util_error.h 2008-05-20 20:47:22 UTC (rev
6853)
@@ -228,6 +228,8 @@
*/
#define GNUNET_GE_BREAK(ctx, cond) do { if (! (cond)) { GNUNET_GE_LOG(ctx,
(GNUNET_GE_KIND) (GNUNET_GE_DEVELOPER | GNUNET_GE_USER | GNUNET_GE_FATAL |
GNUNET_GE_IMMEDIATE), _("Internal error: assertion failed at %s:%d in %s.\n"),
__FILE__, __LINE__, __FUNCTION__); } } while(0)
+#define GNUNET_GE_BREAK_RETURN(ctx, cond, retval) do { if (! (cond)) {
GNUNET_GE_LOG(ctx, (GNUNET_GE_KIND) (GNUNET_GE_DEVELOPER | GNUNET_GE_USER |
GNUNET_GE_FATAL | GNUNET_GE_IMMEDIATE), _("Internal error: assertion failed at
%s:%d in %s.\n"), __FILE__, __LINE__, __FUNCTION__); return retval; } } while(0)
+
/**
* Use this for assertion violations caused by other
* peers (i.e. protocol violations). We do not want to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6853 - GNUnet/src/include,
gnunet <=