mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a bug in last patch; and keep my name out of the assert() call too.
svn:r3200
This commit is contained in:
+2
-1
@@ -40,7 +40,8 @@
|
||||
if (!(expr)) { \
|
||||
log(LOG_ERR, "%s:%d: %s: Assertion %s failed; aborting.", \
|
||||
_SHORT_FILE_, __LINE__, __FUNCTION__, #expr); \
|
||||
assert(expr); /* write to console too. */ \
|
||||
fprintf(stderr,"%s:%d %s: Assertion %s failed; aborting.\n", \
|
||||
_SHORT_FILE_, __LINE__, __FUNCTION__, #expr); \
|
||||
abort(); /* unreached */ \
|
||||
} } while (0)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user