diff options
author | tg(x) <*@tg-x.net> | 2017-02-24 20:10:42 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2017-02-24 20:10:42 +0100 |
commit | cb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3 (patch) | |
tree | 401701a61ae8245f212364df7b44b228a9f4c225 /src/util/common_allocation.c | |
parent | 435ef0a62ffe830ccee159f430157cfc8cc6a3d4 (diff) | |
download | gnunet-cb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3.tar.gz gnunet-cb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3.zip |
util: add component name to LOG macros; util/client: log incoming message type/size/source for gnunet-logread
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r-- | src/util/common_allocation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c index 71a2221ee..737584815 100644 --- a/src/util/common_allocation.c +++ b/src/util/common_allocation.c | |||
@@ -32,9 +32,9 @@ | |||
32 | #include <malloc/malloc.h> | 32 | #include <malloc/malloc.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #define LOG(kind,...) GNUNET_log_from (kind, "util",__VA_ARGS__) | 35 | #define LOG(kind,...) GNUNET_log_from (kind, "util-common-allocation",__VA_ARGS__) |
36 | 36 | ||
37 | #define LOG_STRERROR(kind,syscall) GNUNET_log_from_strerror (kind, "util", syscall) | 37 | #define LOG_STRERROR(kind,syscall) GNUNET_log_from_strerror (kind, "util-common-allocation", syscall) |
38 | 38 | ||
39 | #ifndef INT_MAX | 39 | #ifndef INT_MAX |
40 | #define INT_MAX 0x7FFFFFFF | 40 | #define INT_MAX 0x7FFFFFFF |