summaryrefslogtreecommitdiff
path: root/other/bootstrap_node_packets.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-08-17 10:52:04 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-08-18 00:01:53 +0100
commita5e35180c7b42d30c82825cd67c8118ce048f65a (patch)
treeb74e8ece4f78a988ab0a1300cc08bd35fcd63662 /other/bootstrap_node_packets.c
parentdb22522741cccdeba657776844538c71cf8e8e7a (diff)
Make tox_callback_friend_name stateless.
See #27 and #40 for details.
Diffstat (limited to 'other/bootstrap_node_packets.c')
-rw-r--r--other/bootstrap_node_packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bootstrap_node_packets.c b/other/bootstrap_node_packets.c
index 21bb2894..a560550e 100644
--- a/other/bootstrap_node_packets.c
+++ b/other/bootstrap_node_packets.c
@@ -34,7 +34,7 @@ static uint16_t bootstrap_motd_length;
34/* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH 34/* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH
35 * with the first byte being BOOTSTRAP_INFO_PACKET_ID 35 * with the first byte being BOOTSTRAP_INFO_PACKET_ID
36 */ 36 */
37static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint16_t length) 37static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint16_t length, void *userdata)
38{ 38{
39 if (length != INFO_REQUEST_PACKET_LENGTH) 39 if (length != INFO_REQUEST_PACKET_LENGTH)
40 return 1; 40 return 1;