diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-27 11:01:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-27 11:01:57 +0000 |
commit | ea6fd392e46097097812e08a526c629998da26b8 (patch) | |
tree | aa8f411fd1963f63dbf13a7ac03d4cd8baa0c9f9 /src/fs/gnunet-service-fs.c | |
parent | 938a31dcf378460d4684a708e6d42bc32095dcee (diff) | |
download | gnunet-ea6fd392e46097097812e08a526c629998da26b8.tar.gz gnunet-ea6fd392e46097097812e08a526c629998da26b8.zip |
fix logging
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 07852b4ba..0a49f9a37 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -988,7 +988,7 @@ transmit_to_peer (void *cls, | |||
988 | &transmit_to_peer, | 988 | &transmit_to_peer, |
989 | pm); | 989 | pm); |
990 | } | 990 | } |
991 | #if DEBUG_FS | 991 | #if DEBUG_FS > 2 |
992 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 992 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
993 | "Transmitting %u bytes to peer %u.\n", | 993 | "Transmitting %u bytes to peer %u.\n", |
994 | msize, | 994 | msize, |
@@ -1273,7 +1273,8 @@ target_reservation_cb (void *cls, | |||
1273 | /* build message and insert message into priority queue */ | 1273 | /* build message and insert message into priority queue */ |
1274 | #if DEBUG_FS | 1274 | #if DEBUG_FS |
1275 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1275 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1276 | "Forwarding request to `%4s'!\n", | 1276 | "Forwarding request `%s' to `%4s'!\n", |
1277 | GNUNET_h2s (&pr->query), | ||
1277 | GNUNET_i2s (peer)); | 1278 | GNUNET_i2s (peer)); |
1278 | #endif | 1279 | #endif |
1279 | k = 0; | 1280 | k = 0; |
@@ -1960,7 +1961,7 @@ process_local_reply (void *cls, | |||
1960 | 1961 | ||
1961 | if (NULL == key) | 1962 | if (NULL == key) |
1962 | { | 1963 | { |
1963 | #if DEBUG_FS | 1964 | #if DEBUG_FS > 1 |
1964 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1965 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1965 | "Done processing local replies, forwarding request to other peers.\n"); | 1966 | "Done processing local replies, forwarding request to other peers.\n"); |
1966 | #endif | 1967 | #endif |