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/core/gnunet-service-core.c | |
parent | a3247ccf829ff52285721529bbcba00a0da39dcd (diff) | |
download | gnunet-93522adc0728de13e94a7b13730781345144e434.tar.gz gnunet-93522adc0728de13e94a7b13730781345144e434.zip |
removing 'publicKey' argument from CORE init callback
Diffstat (limited to 'src/core/gnunet-service-core.c')
-rw-r--r-- | src/core/gnunet-service-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index 76ed02d2f..34b35f92a 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c | |||
@@ -1393,8 +1393,7 @@ handle_client_init (void *cls, struct GNUNET_SERVER_Client *client, | |||
1393 | irm.header.size = htons (sizeof (struct InitReplyMessage)); | 1393 | irm.header.size = htons (sizeof (struct InitReplyMessage)); |
1394 | irm.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY); | 1394 | irm.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY); |
1395 | irm.reserved = htonl (0); | 1395 | irm.reserved = htonl (0); |
1396 | memcpy (&irm.publicKey, &my_public_key, | 1396 | irm.my_identity = my_identity; |
1397 | sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded)); | ||
1398 | #if DEBUG_CORE_CLIENT | 1397 | #if DEBUG_CORE_CLIENT |
1399 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending `%s' message to client.\n", | 1398 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending `%s' message to client.\n", |
1400 | "INIT_REPLY"); | 1399 | "INIT_REPLY"); |