diff options
author | tg(x) <*@tg-x.net> | 2017-02-24 22:19:16 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2017-02-24 22:19:16 +0100 |
commit | e5c0f2652d84367e36662783f05c94efca16d1c2 (patch) | |
tree | 97e2152597ba77371019141a7b631e69085fcc7f /src/util/server.c | |
parent | b7002d3f8016478d716236238bd43a7c06c924d2 (diff) | |
download | gnunet-e5c0f2652d84367e36662783f05c94efca16d1c2.tar.gz gnunet-e5c0f2652d84367e36662783f05c94efca16d1c2.zip |
util: logging
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/server.c b/src/util/server.c index d7da5c6c0..83c30e328 100644 --- a/src/util/server.c +++ b/src/util/server.c | |||
@@ -945,9 +945,9 @@ GNUNET_SERVER_inject (struct GNUNET_SERVER_Handle *server, | |||
945 | 945 | ||
946 | type = ntohs (message->type); | 946 | type = ntohs (message->type); |
947 | size = ntohs (message->size); | 947 | size = ntohs (message->size); |
948 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 948 | LOG (GNUNET_ERROR_TYPE_INFO, |
949 | "Server schedules transmission of %u-byte message of type %u to client.\n", | 949 | "Received message of type %u and size %u from client\n", |
950 | size, type); | 950 | type, size); |
951 | found = GNUNET_NO; | 951 | found = GNUNET_NO; |
952 | for (pos = server->handlers; NULL != pos; pos = pos->next) | 952 | for (pos = server->handlers; NULL != pos; pos = pos->next) |
953 | { | 953 | { |
@@ -1240,8 +1240,8 @@ client_message_tokenizer_callback (void *cls, | |||
1240 | int ret; | 1240 | int ret; |
1241 | 1241 | ||
1242 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1242 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1243 | "Tokenizer gives server message of type %u from client\n", | 1243 | "Tokenizer gives server message of type %u and size %u from client\n", |
1244 | ntohs (message->type)); | 1244 | ntohs (message->type), ntohs (message->size)); |
1245 | sender->in_process_client_buffer = GNUNET_YES; | 1245 | sender->in_process_client_buffer = GNUNET_YES; |
1246 | ret = GNUNET_SERVER_inject (server, sender, message); | 1246 | ret = GNUNET_SERVER_inject (server, sender, message); |
1247 | sender->in_process_client_buffer = GNUNET_NO; | 1247 | sender->in_process_client_buffer = GNUNET_NO; |