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:
25d1e3b
)
- update m2s for non-payload
author
Bart Polot
<bart@net.in.tum.de>
Tue, 24 Jun 2014 15:17:34 +0000
(15:17 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 24 Jun 2014 15:17:34 +0000
(15:17 +0000)
src/cadet/cadet_common.c
patch
|
blob
|
history
diff --git
a/src/cadet/cadet_common.c
b/src/cadet/cadet_common.c
index b1d0501b2bc8d7d96e8346916e83d86d5a63c066..eb6d2c2834eb7f5add8032d74e6b9e75fe0e42b4 100644
(file)
--- a/
src/cadet/cadet_common.c
+++ b/
src/cadet/cadet_common.c
@@
-110,6
+110,12
@@
GC_m2s (uint16_t m)
idx = (idx + 1) % 2;
switch (m)
{
+ /**
+ * Used to mark the "payload" of a non-payload message.
+ */
+ case 0:
+ return "";
+
/**
* Request the creation of a path
*/