aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-17 15:19:48 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-17 15:19:48 +0100
commit2401a858f667b1c5c56cc30a7c7aede4fc6e72e2 (patch)
treec4a59f42d1f3f9941b224070b335339d7715f0c4 /src/cadet
parent8ad5ede4c2d3dc970a3c721887f2b0cc38a31931 (diff)
downloadgnunet-2401a858f667b1c5c56cc30a7c7aede4fc6e72e2.tar.gz
gnunet-2401a858f667b1c5c56cc30a7c7aede4fc6e72e2.zip
missing 'const'
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/cadet_api_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/cadet_api_new.c b/src/cadet/cadet_api_new.c
index eb8bc2549..e9ab3ea57 100644
--- a/src/cadet/cadet_api_new.c
+++ b/src/cadet/cadet_api_new.c
@@ -707,7 +707,7 @@ handle_local_data (void *cls,
707 return; 707 return;
708 } 708 }
709 709
710 payload = (struct GNUNET_MessageHeader *) &message[1]; 710 payload = (const struct GNUNET_MessageHeader *) &message[1];
711 type = ntohs (payload->type); 711 type = ntohs (payload->type);
712 fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI; 712 fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI;
713 LOG (GNUNET_ERROR_TYPE_DEBUG, 713 LOG (GNUNET_ERROR_TYPE_DEBUG,