projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad5ede
)
missing 'const'
author
Christian Grothoff
<christian@grothoff.org>
Fri, 17 Feb 2017 14:19:48 +0000
(15:19 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 17 Feb 2017 14:19:48 +0000
(15:19 +0100)
src/cadet/cadet_api_new.c
patch
|
blob
|
history
diff --git
a/src/cadet/cadet_api_new.c
b/src/cadet/cadet_api_new.c
index eb8bc2549faa903d90e8bdc904f3d57314306db8..e9ab3ea5798f955485f362bd64abef698d2d0a63 100644
(file)
--- a/
src/cadet/cadet_api_new.c
+++ b/
src/cadet/cadet_api_new.c
@@
-707,7
+707,7
@@
handle_local_data (void *cls,
return;
}
- payload = (struct GNUNET_MessageHeader *) &message[1];
+ payload = (
const
struct GNUNET_MessageHeader *) &message[1];
type = ntohs (payload->type);
fwd = ntohl (ch->ccn.channel_of_client) <= GNUNET_CADET_LOCAL_CHANNEL_ID_CLI;
LOG (GNUNET_ERROR_TYPE_DEBUG,