aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-27 21:46:41 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-27 21:46:41 +0000
commit46a63dc665f31fa7d42639ab6adabbdb1af239c8 (patch)
tree6c3e58a7f57d6d3ee44aa6cd2808b5458d75de4b /src/transport/plugin_transport_http_server.c
parent4848a679018f9e864cd277345191ad8f1000b5ff (diff)
downloadgnunet-46a63dc665f31fa7d42639ab6adabbdb1af239c8.tar.gz
gnunet-46a63dc665f31fa7d42639ab6adabbdb1af239c8.zip
renaming GNUNET_TIME_relative_get_forever and GNUNET_TIME_absolute_get_forever methods, adding underscore, to make it clear that the respective #defines should be used instead; replacing use of direct function calls with respective macros where applicable; adding additional GNUNET_TIME_relative_get_xxx-functions to avoid calls to GNUNET_TIME_relative_multiply, which turn out to have gotten performance-relevant
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index bee885453..fce6bd1a3 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -542,7 +542,7 @@ create:
542 s->ats_address_network_type = ats.value; 542 s->ats_address_network_type = ats.value;
543 543
544 s->inbound = GNUNET_YES; 544 s->inbound = GNUNET_YES;
545 s->next_receive = GNUNET_TIME_absolute_get_zero (); 545 s->next_receive = GNUNET_TIME_UNIT_ZERO_ABS;
546 s->tag = tag; 546 s->tag = tag;
547 if (0 == strcmp (MHD_HTTP_METHOD_PUT, method)) 547 if (0 == strcmp (MHD_HTTP_METHOD_PUT, method))
548 s->server_recv = s; 548 s->server_recv = s;