diff options
Diffstat (limited to 'src/psycutil')
-rw-r--r-- | src/psycutil/psyc_message.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/psycutil/psyc_message.c b/src/psycutil/psyc_message.c index 8c214d2b6..2bdd4497a 100644 --- a/src/psycutil/psyc_message.c +++ b/src/psycutil/psyc_message.c | |||
@@ -135,7 +135,7 @@ struct GNUNET_PSYC_ReceiveHandle | |||
135 | /** | 135 | /** |
136 | * Public key of the slave from which a message is being received. | 136 | * Public key of the slave from which a message is being received. |
137 | */ | 137 | */ |
138 | struct GNUNET_CRYPTO_EcdsaPublicKey slave_key; | 138 | struct GNUNET_CRYPTO_EcdsaPublicKey slave_pub_key; |
139 | 139 | ||
140 | /** | 140 | /** |
141 | * State of the currently being received message from the PSYC service. | 141 | * State of the currently being received message from the PSYC service. |
@@ -913,7 +913,7 @@ GNUNET_PSYC_receive_message (struct GNUNET_PSYC_ReceiveHandle *recv, | |||
913 | { | 913 | { |
914 | recv->message_id = GNUNET_ntohll (msg->message_id); | 914 | recv->message_id = GNUNET_ntohll (msg->message_id); |
915 | recv->flags = flags; | 915 | recv->flags = flags; |
916 | recv->slave_key = msg->slave_key; | 916 | recv->slave_pub_key = msg->slave_pub_key; |
917 | recv->mod_value_size = 0; | 917 | recv->mod_value_size = 0; |
918 | recv->mod_value_size_expected = 0; | 918 | recv->mod_value_size_expected = 0; |
919 | } | 919 | } |
@@ -1099,7 +1099,7 @@ GNUNET_PSYC_receive_message (struct GNUNET_PSYC_ReceiveHandle *recv, | |||
1099 | } | 1099 | } |
1100 | 1100 | ||
1101 | if (NULL != recv->message_part_cb) | 1101 | if (NULL != recv->message_part_cb) |
1102 | recv->message_part_cb (recv->cb_cls, &recv->slave_key, | 1102 | recv->message_part_cb (recv->cb_cls, &recv->slave_pub_key, |
1103 | recv->message_id, recv->flags, | 1103 | recv->message_id, recv->flags, |
1104 | 0, // FIXME: data_offset | 1104 | 0, // FIXME: data_offset |
1105 | pmsg); | 1105 | pmsg); |
@@ -1180,7 +1180,7 @@ struct ParseMessageClosure | |||
1180 | 1180 | ||
1181 | static void | 1181 | static void |
1182 | parse_message_part_cb (void *cls, | 1182 | parse_message_part_cb (void *cls, |
1183 | const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_key, | 1183 | const struct GNUNET_CRYPTO_EcdsaPublicKey *slave_pub_key, |
1184 | uint64_t message_id, uint32_t flags, uint64_t data_offset, | 1184 | uint64_t message_id, uint32_t flags, uint64_t data_offset, |
1185 | const struct GNUNET_MessageHeader *msg) | 1185 | const struct GNUNET_MessageHeader *msg) |
1186 | { | 1186 | { |