diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-02 23:31:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-02 23:31:25 +0000 |
commit | f2d1198d45bc3786d0164a5b6df928768022d1b7 (patch) | |
tree | bcce1d8e39bbcddda171c3637bf418f4fbd41824 /src/transport/test_transport_api_monitor_peers.c | |
parent | 8727c5c69097aeb474ce6039bf31650400b6286a (diff) | |
download | gnunet-f2d1198d45bc3786d0164a5b6df928768022d1b7.tar.gz gnunet-f2d1198d45bc3786d0164a5b6df928768022d1b7.zip |
dramatically simplify quota notification: avoid registration, simply always notify plugin
Diffstat (limited to 'src/transport/test_transport_api_monitor_peers.c')
-rw-r--r-- | src/transport/test_transport_api_monitor_peers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_monitor_peers.c b/src/transport/test_transport_api_monitor_peers.c index 536507c47..0cf58a0d1 100644 --- a/src/transport/test_transport_api_monitor_peers.c +++ b/src/transport/test_transport_api_monitor_peers.c | |||
@@ -386,6 +386,7 @@ start_cb (struct PeerContext *p, void *cls) | |||
386 | 386 | ||
387 | static void | 387 | static void |
388 | monitor1_cb (void *cls, | 388 | monitor1_cb (void *cls, |
389 | const struct GNUNET_PeerIdentity *peer, | ||
389 | const struct GNUNET_HELLO_Address *address, | 390 | const struct GNUNET_HELLO_Address *address, |
390 | enum GNUNET_TRANSPORT_PeerState state, | 391 | enum GNUNET_TRANSPORT_PeerState state, |
391 | struct GNUNET_TIME_Absolute state_timeout) | 392 | struct GNUNET_TIME_Absolute state_timeout) |
@@ -411,6 +412,7 @@ monitor1_cb (void *cls, | |||
411 | 412 | ||
412 | static void | 413 | static void |
413 | monitor2_cb (void *cls, | 414 | monitor2_cb (void *cls, |
415 | const struct GNUNET_PeerIdentity *peer, | ||
414 | const struct GNUNET_HELLO_Address *address, | 416 | const struct GNUNET_HELLO_Address *address, |
415 | enum GNUNET_TRANSPORT_PeerState state, | 417 | enum GNUNET_TRANSPORT_PeerState state, |
416 | struct GNUNET_TIME_Absolute state_timeout) | 418 | struct GNUNET_TIME_Absolute state_timeout) |