aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-03 20:43:37 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-03 20:43:37 +0000
commit9017f014c0d56dafe03c912540fb0bd0345ef918 (patch)
tree4ec026045759038cda337d7dc30a45bc8dbfc6ec /src/core/gnunet-service-core.c
parent139bf3e0f8ad7a010676e53838acb5be9227441b (diff)
downloadgnunet-9017f014c0d56dafe03c912540fb0bd0345ef918.tar.gz
gnunet-9017f014c0d56dafe03c912540fb0bd0345ef918.zip
simplify api
Diffstat (limited to 'src/core/gnunet-service-core.c')
-rw-r--r--src/core/gnunet-service-core.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 1331fce25..7053cc603 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -1611,9 +1611,7 @@ handle_client_request_info (void *cls,
1611 GNUNET_TRANSPORT_set_quota (transport, 1611 GNUNET_TRANSPORT_set_quota (transport,
1612 &n->peer, 1612 &n->peer,
1613 n->bw_in, 1613 n->bw_in,
1614 n->bw_out, 1614 n->bw_out);
1615 GNUNET_TIME_UNIT_FOREVER_REL,
1616 NULL, NULL);
1617 handle_peer_status_change (n); 1615 handle_peer_status_change (n);
1618 } 1616 }
1619 } 1617 }
@@ -3704,9 +3702,7 @@ handle_pong (struct Neighbour *n,
3704 GNUNET_TRANSPORT_set_quota (transport, 3702 GNUNET_TRANSPORT_set_quota (transport,
3705 &n->peer, 3703 &n->peer,
3706 n->bw_in, 3704 n->bw_in,
3707 n->bw_out, 3705 n->bw_out);
3708 GNUNET_TIME_UNIT_FOREVER_REL,
3709 NULL, NULL);
3710 } 3706 }
3711#if DEBUG_CORE 3707#if DEBUG_CORE
3712 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 3708 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -4226,9 +4222,7 @@ handle_encrypted_message (struct Neighbour *n,
4226 GNUNET_TRANSPORT_set_quota (transport, 4222 GNUNET_TRANSPORT_set_quota (transport,
4227 &n->peer, 4223 &n->peer,
4228 n->bw_in, 4224 n->bw_in,
4229 n->bw_out, 4225 n->bw_out);
4230 GNUNET_TIME_UNIT_FOREVER_REL,
4231 NULL, NULL);
4232 } 4226 }
4233 n->last_activity = GNUNET_TIME_absolute_get (); 4227 n->last_activity = GNUNET_TIME_absolute_get ();
4234 if (n->keep_alive_task != GNUNET_SCHEDULER_NO_TASK) 4228 if (n->keep_alive_task != GNUNET_SCHEDULER_NO_TASK)
@@ -4509,9 +4503,7 @@ neighbour_quota_update (void *cls,
4509 GNUNET_TRANSPORT_set_quota (transport, 4503 GNUNET_TRANSPORT_set_quota (transport,
4510 &n->peer, 4504 &n->peer,
4511 n->bw_in, 4505 n->bw_in,
4512 n->bw_out, 4506 n->bw_out);
4513 GNUNET_TIME_UNIT_FOREVER_REL,
4514 NULL, NULL);
4515 handle_peer_status_change (n); 4507 handle_peer_status_change (n);
4516 } 4508 }
4517 schedule_quota_update (n); 4509 schedule_quota_update (n);
@@ -4574,9 +4566,7 @@ handle_transport_notify_connect (void *cls,
4574 GNUNET_TRANSPORT_set_quota (transport, 4566 GNUNET_TRANSPORT_set_quota (transport,
4575 &n->peer, 4567 &n->peer,
4576 n->bw_in, 4568 n->bw_in,
4577 n->bw_out, 4569 n->bw_out);
4578 GNUNET_TIME_UNIT_FOREVER_REL,
4579 NULL, NULL);
4580 send_key (n); 4570 send_key (n);
4581} 4571}
4582 4572