diff options
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 92ed2fe52..219fae57b 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -769,10 +769,10 @@ http_client_plugin_send (void *cls, | |||
769 | char *stat_txt; | 769 | char *stat_txt; |
770 | 770 | ||
771 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 771 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
772 | "Session %p/request %p: Sending message with %u to peer `%s' \n", | 772 | "Session %p/request %p: Sending message with %lu to peer `%s' \n", |
773 | s, | 773 | s, |
774 | s->put.easyhandle, | 774 | s->put.easyhandle, |
775 | msgbuf_size, | 775 | (unsigned long) msgbuf_size, |
776 | GNUNET_i2s (&s->address->peer)); | 776 | GNUNET_i2s (&s->address->peer)); |
777 | 777 | ||
778 | /* create new message and schedule */ | 778 | /* create new message and schedule */ |
@@ -1087,11 +1087,10 @@ client_send_cb (void *stream, | |||
1087 | if (msg->pos == msg->size) | 1087 | if (msg->pos == msg->size) |
1088 | { | 1088 | { |
1089 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1089 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1090 | "Session %p/request %p: sent message with %u bytes sent, removing message from queue\n", | 1090 | "Session %p/request %p: sent message with %lu bytes sent, removing message from queue\n", |
1091 | s, | 1091 | s, |
1092 | s->put.easyhandle, | 1092 | s->put.easyhandle, |
1093 | msg->size, | 1093 | (unsigned long) msg->size); |
1094 | msg->pos); | ||
1095 | /* Calling transmit continuation */ | 1094 | /* Calling transmit continuation */ |
1096 | GNUNET_CONTAINER_DLL_remove (s->msg_head, | 1095 | GNUNET_CONTAINER_DLL_remove (s->msg_head, |
1097 | s->msg_tail, | 1096 | s->msg_tail, |
@@ -1249,10 +1248,10 @@ client_receive (void *stream, | |||
1249 | size_t len = size * nmemb; | 1248 | size_t len = size * nmemb; |
1250 | 1249 | ||
1251 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1250 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1252 | "Session %p / request %p: Received %u bytes from peer `%s'\n", | 1251 | "Session %p / request %p: Received %lu bytes from peer `%s'\n", |
1253 | s, | 1252 | s, |
1254 | s->get.easyhandle, | 1253 | s->get.easyhandle, |
1255 | len, | 1254 | (unsigned long) len, |
1256 | GNUNET_i2s (&s->address->peer)); | 1255 | GNUNET_i2s (&s->address->peer)); |
1257 | now = GNUNET_TIME_absolute_get (); | 1256 | now = GNUNET_TIME_absolute_get (); |
1258 | if (now.abs_value_us < s->next_receive.abs_value_us) | 1257 | if (now.abs_value_us < s->next_receive.abs_value_us) |
@@ -1346,7 +1345,7 @@ client_run (void *cls) | |||
1346 | /* Log status of terminated request */ | 1345 | /* Log status of terminated request */ |
1347 | if ((0 != msg->data.result) || (http_statuscode != 200)) | 1346 | if ((0 != msg->data.result) || (http_statuscode != 200)) |
1348 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1347 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1349 | "Session %p/request %p: %s request to `%s' ended with status %i reason %i: `%s'\n", | 1348 | "Session %p/request %p: %s request to `%s' ended with status %li reason %i: `%s'\n", |
1350 | s, msg->easy_handle, | 1349 | s, msg->easy_handle, |
1351 | (GNUNET_YES == put_request) ? "PUT" : "GET", | 1350 | (GNUNET_YES == put_request) ? "PUT" : "GET", |
1352 | GNUNET_i2s (&s->address->peer), | 1351 | GNUNET_i2s (&s->address->peer), |