diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-02-05 17:24:31 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-02-05 17:24:31 +0000 |
commit | 1bac5c7c1ea598e60bd4e30917e24d7ec178c99d (patch) | |
tree | b44ba2e338887d41a193bbcfa0754f57439a854a /src/dht/gnunet-service-dht_clients.c | |
parent | b2254c7fe51b935fe655ad798d5b05edb61db8c9 (diff) | |
download | gnunet-1bac5c7c1ea598e60bd4e30917e24d7ec178c99d.tar.gz gnunet-1bac5c7c1ea598e60bd4e30917e24d7ec178c99d.zip |
- change log info of LOG_TRAFFIC, use R5N to distinguish from XDHT
Diffstat (limited to 'src/dht/gnunet-service-dht_clients.c')
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index 5195fa3ec..2ec3c180c 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c | |||
@@ -511,8 +511,8 @@ handle_dht_local_put (void *cls, struct GNUNET_SERVER_Client *client, | |||
511 | ("# PUT requests received from clients"), 1, | 511 | ("# PUT requests received from clients"), 1, |
512 | GNUNET_NO); | 512 | GNUNET_NO); |
513 | dht_msg = (const struct GNUNET_DHT_ClientPutMessage *) message; | 513 | dht_msg = (const struct GNUNET_DHT_ClientPutMessage *) message; |
514 | LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG, "XDHT CLIENT-PUT %s @ %u\n", | 514 | LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG, "R5N CLIENT-PUT %s\n", |
515 | GNUNET_h2s (&dht_msg->key), getpid ()); | 515 | GNUNET_h2s_full (&dht_msg->key)); |
516 | /* give to local clients */ | 516 | /* give to local clients */ |
517 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 517 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
518 | "Handling local PUT of %u-bytes for query %s\n", | 518 | "Handling local PUT of %u-bytes for query %s\n", |
@@ -598,8 +598,8 @@ handle_dht_local_get (void *cls, struct GNUNET_SERVER_Client *client, | |||
598 | "Received GET request for %s from local client %p, xq: %.*s\n", | 598 | "Received GET request for %s from local client %p, xq: %.*s\n", |
599 | GNUNET_h2s (&get->key), client, xquery_size, xquery); | 599 | GNUNET_h2s (&get->key), client, xquery_size, xquery); |
600 | 600 | ||
601 | LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG, "XDHT CLIENT-GET %s @ %u\n", | 601 | LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG, "R5N CLIENT-GET %s\n", |
602 | GNUNET_h2s (&get->key), getpid ()); | 602 | GNUNET_h2s_full (&get->key)); |
603 | 603 | ||
604 | 604 | ||
605 | cqr = GNUNET_malloc (sizeof (struct ClientQueryRecord) + xquery_size); | 605 | cqr = GNUNET_malloc (sizeof (struct ClientQueryRecord) + xquery_size); |
@@ -1023,10 +1023,10 @@ forward_reply (void *cls, const struct GNUNET_HashCode * key, void *value) | |||
1023 | int do_free; | 1023 | int do_free; |
1024 | struct GNUNET_HashCode ch; | 1024 | struct GNUNET_HashCode ch; |
1025 | unsigned int i; | 1025 | unsigned int i; |
1026 | 1026 | ||
1027 | LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG, | 1027 | LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG, |
1028 | "XDHT CLIENT-RESULT %s\n", | 1028 | "R5N CLIENT-RESULT %s\n", |
1029 | GNUNET_h2s (key)); | 1029 | GNUNET_h2s_full (key)); |
1030 | if ((record->type != GNUNET_BLOCK_TYPE_ANY) && (record->type != frc->type)) | 1030 | if ((record->type != GNUNET_BLOCK_TYPE_ANY) && (record->type != frc->type)) |
1031 | { | 1031 | { |
1032 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1032 | LOG (GNUNET_ERROR_TYPE_DEBUG, |