diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-07 11:08:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-07 11:08:40 +0000 |
commit | 93522adc0728de13e94a7b13730781345144e434 (patch) | |
tree | 5e8389010559b5c326909bba7d8b18b858eeab35 /src/dv | |
parent | a3247ccf829ff52285721529bbcba00a0da39dcd (diff) | |
download | gnunet-93522adc0728de13e94a7b13730781345144e434.tar.gz gnunet-93522adc0728de13e94a7b13730781345144e434.zip |
removing 'publicKey' argument from CORE init callback
Diffstat (limited to 'src/dv')
-rw-r--r-- | src/dv/gnunet-service-dv.c | 3 | ||||
-rw-r--r-- | src/dv/test_transport_api_dv.c | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/dv/gnunet-service-dv.c b/src/dv/gnunet-service-dv.c index 6699fef11..0940fd9f0 100644 --- a/src/dv/gnunet-service-dv.c +++ b/src/dv/gnunet-service-dv.c | |||
@@ -2286,8 +2286,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
2286 | */ | 2286 | */ |
2287 | void | 2287 | void |
2288 | core_init (void *cls, struct GNUNET_CORE_Handle *server, | 2288 | core_init (void *cls, struct GNUNET_CORE_Handle *server, |
2289 | const struct GNUNET_PeerIdentity *identity, | 2289 | const struct GNUNET_PeerIdentity *identity) |
2290 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *publicKey) | ||
2291 | { | 2290 | { |
2292 | 2291 | ||
2293 | if (server == NULL) | 2292 | if (server == NULL) |
diff --git a/src/dv/test_transport_api_dv.c b/src/dv/test_transport_api_dv.c index 0e8444bd4..21fe7225e 100644 --- a/src/dv/test_transport_api_dv.c +++ b/src/dv/test_transport_api_dv.c | |||
@@ -560,9 +560,7 @@ connect_notify_peer2 (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
560 | 560 | ||
561 | static void | 561 | static void |
562 | init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server, | 562 | init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server, |
563 | const struct GNUNET_PeerIdentity *my_identity, | 563 | const struct GNUNET_PeerIdentity *my_identity) |
564 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded | ||
565 | *publicKey) | ||
566 | { | 564 | { |
567 | #if VERBOSE | 565 | #if VERBOSE |
568 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 566 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -605,9 +603,7 @@ connect_notify_peer1 (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
605 | 603 | ||
606 | static void | 604 | static void |
607 | init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, | 605 | init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, |
608 | const struct GNUNET_PeerIdentity *my_identity, | 606 | const struct GNUNET_PeerIdentity *my_identity) |
609 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded | ||
610 | *publicKey) | ||
611 | { | 607 | { |
612 | total_server_connections++; | 608 | total_server_connections++; |
613 | #if VERBOSE | 609 | #if VERBOSE |