more client code
authorChristian Grothoff <christian@grothoff.org>
Fri, 5 Aug 2011 08:27:50 +0000 (08:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 5 Aug 2011 08:27:50 +0000 (08:27 +0000)
src/transport/gnunet-service-transport_clients.c
src/transport/gnunet-service-transport_neighbours.c

index 5fbd60df8581eb58fcd6dda1092e5654cdd33914..2e345a9c011e96b08aa693c5ffae2f3b00afe0c8 100644 (file)
@@ -455,7 +455,7 @@ GST_clients_handle_set_quota (void *cls,
   const struct QuotaSetMessage *qsm;
 
   qsm = (const struct QuotaSetMessage *) message;
-  GNUNET_STATISTICS_update (stats,
+  GNUNET_STATISTICS_update (GST_stats,
                            gettext_noop ("# SET QUOTA messages received"),
                            1,
                            GNUNET_NO);
index 89a622d957c0f07ac66b5fdcf470b5229d8d2945..4c25be39c7199b5274d7ac5bbb6ee961abe9aa7c 100644 (file)
@@ -107,8 +107,8 @@ GST_neighbours_send (const struct GNUNET_PeerIdentity *target,
  * @param quota new quota 
  */
 void
-GST_neighbours_set_quota (const struct GNUNET_PeerIdentity *neighbour,
-                         struct GNUNET_BANDWIDTH_Value32NBO quota)
+GST_neighbours_set_incoming_quota (const struct GNUNET_PeerIdentity *neighbour,
+                                  struct GNUNET_BANDWIDTH_Value32NBO quota)
 {
 #if 0