summaryrefslogtreecommitdiff
path: root/other/bootstrap_node_packets.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-15 20:49:39 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-15 20:49:39 -0400
commit881b2d900d1998981fb6b9938ec66012d049635f (patch)
tree74545a384a1201da59fb09f2a1cb1978999397e4 /other/bootstrap_node_packets.c
parent750c75a47dda2712bc988fecd95510ccf54c68fd (diff)
Fixed some warnings.
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 ea57b0d2..e8df3289 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, uint8_t *packet, uint32_t length) 37static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint32_t length)
38{ 38{
39 if (length != INFO_REQUEST_PACKET_LENGTH) 39 if (length != INFO_REQUEST_PACKET_LENGTH)
40 return 1; 40 return 1;