projects
/
monky
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix: make sure $else works correct and without memleaks
[monky]
/
src
/
logging.h
diff --git
a/src/logging.h
b/src/logging.h
index
ec849d6
..
8916ff9
100644
(file)
--- a/
src/logging.h
+++ b/
src/logging.h
@@
-32,7
+32,7
@@
void clean_up(void *memtofree1, void* memtofree2);
#ifndef _LOGGING_H
#define _LOGGING_H
#ifndef _LOGGING_H
#define _LOGGING_H
-#define ERR(...) { \
+#define NORM_ERR(...) { \
fprintf(stderr, PACKAGE_NAME": "); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
fprintf(stderr, PACKAGE_NAME": "); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
@@
-40,7
+40,7
@@
void clean_up(void *memtofree1, void* memtofree2);
/* critical error */
#define CRIT_ERR(memtofree1, memtofree2, ...) \
/* critical error */
#define CRIT_ERR(memtofree1, memtofree2, ...) \
- { ERR(__VA_ARGS__); clean_up(memtofree1, memtofree2); exit(EXIT_FAILURE); }
+ { NORM_ERR(__VA_ARGS__); clean_up(memtofree1, memtofree2); exit(EXIT_FAILURE); }
/* debugging output */
extern int global_debug_level;
/* debugging output */
extern int global_debug_level;