From 9a9d3ed04c07a6749e784d8df1a61127ff2e756a Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 8 Oct 2013 11:21:37 +0000 Subject: [PATCH] - fix LOG --- src/mesh/gnunet-service-mesh_channel.c | 2 +- src/mesh/gnunet-service-mesh_connection.c | 2 +- src/mesh/gnunet-service-mesh_dht.c | 2 +- src/mesh/gnunet-service-mesh_local.c | 2 +- src/mesh/gnunet-service-mesh_peer.c | 2 +- src/mesh/gnunet-service-mesh_tunnel.c | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index 1f00faf06..e6c0958cc 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c @@ -25,7 +25,7 @@ #include "gnunet-service-mesh_channel.h" #include "gnunet-service-mesh_local.h" -#define LOG (level, ...) GNUNET_log_from ("mesh-chn", level, __VA_ARGS__) +#define LOG(level, ...) GNUNET_log_from(level,"mesh-chn",__VA_ARGS__) /** * All the states a connection can be in. diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index b3dc86a9c..da95ced0d 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -39,7 +39,7 @@ #define MESH_RETRANSMIT_TIME GNUNET_TIME_UNIT_SECONDS #define MESH_RETRANSMIT_MARGIN 4 -#define LOG (level, ...) GNUNET_log_from ("mesh-con", level, __VA_ARGS__) +#define LOG(level, ...) GNUNET_log_from (level,"mesh-con",__VA_ARGS__) /** * All the states a connection can be in. diff --git a/src/mesh/gnunet-service-mesh_dht.c b/src/mesh/gnunet-service-mesh_dht.c index 2f2a8890d..e09c6b65e 100644 --- a/src/mesh/gnunet-service-mesh_dht.c +++ b/src/mesh/gnunet-service-mesh_dht.c @@ -28,7 +28,7 @@ #include "gnunet-service-mesh_dht.h" #include "gnunet-service-mesh_peer.h" -#define LOG (level, ...) GNUNET_log_from ("mesh-dht", level, __VA_ARGS__) +#define LOG(level, ...) GNUNET_log_from (level,"mesh-dht",__VA_ARGS__) /******************************************************************************/ diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 77f1efeb1..6612915e4 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c @@ -26,7 +26,7 @@ #include "gnunet-service-mesh_local.h" #include "gnunet-service-mesh_tunnel.h" -#define LOG (level, ...) GNUNET_log_from ("mesh-loc", level, __VA_ARGS__) +#define LOG(level, ...) GNUNET_log_from(level,"mesh-loc",__VA_ARGS__) /******************************************************************************/ /******************************** STRUCTS **********************************/ diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c index ccc7e9d5b..e12d4fdb6 100644 --- a/src/mesh/gnunet-service-mesh_peer.c +++ b/src/mesh/gnunet-service-mesh_peer.c @@ -32,7 +32,7 @@ #include "gnunet-service-mesh_local.h" #include "mesh_path.h" -#define LOG (level, ...) GNUNET_log_from ("mesh-p2p", level, __VA_ARGS__) +#define LOG(level, ...) GNUNET_log_from (level,"mesh-p2p",__VA_ARGS__) /******************************************************************************/ /******************************** STRUCTS **********************************/ diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index 6da299f8a..9e7886626 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c @@ -28,7 +28,7 @@ #include "gnunet-service-mesh_channel.h" #include "mesh_path.h" -#define LOG (level, ...) GNUNET_log_from ("mesh-tun", level, __VA_ARGS__) +#define LOG(level, ...) GNUNET_log_from(level,"mesh-tun",__VA_ARGS__) /** * All the states a tunnel can be in. @@ -848,7 +848,7 @@ GMT_send_prebuilt_message (struct GNUNET_MESH_Encrypted *msg, break; default: LOG (GNUNET_ERROR_TYPE_DEBUG, "unkown type %s\n", - GNUNET_MESH_DEBUG_M2S (type)); + GNUNET_MESH_DEBUG_M2S (type)); GNUNET_break (0); } msg->reserved = 0; -- 2.25.1