aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_common.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-06-24 15:17:34 +0000
committerBart Polot <bart@net.in.tum.de>2014-06-24 15:17:34 +0000
commit9046d2649944100138413c3d416cf09afdc5c8d3 (patch)
treece07a4e30de90b0fd490dd927d34d2c3e674bace /src/cadet/cadet_common.c
parent25d1e3b1793fb0b23b7f040f84fdb0d8d767087d (diff)
downloadgnunet-9046d2649944100138413c3d416cf09afdc5c8d3.tar.gz
gnunet-9046d2649944100138413c3d416cf09afdc5c8d3.zip
- update m2s for non-payload
Diffstat (limited to 'src/cadet/cadet_common.c')
-rw-r--r--src/cadet/cadet_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cadet/cadet_common.c b/src/cadet/cadet_common.c
index b1d0501b2..eb6d2c283 100644
--- a/src/cadet/cadet_common.c
+++ b/src/cadet/cadet_common.c
@@ -110,6 +110,12 @@ GC_m2s (uint16_t m)
110 idx = (idx + 1) % 2; 110 idx = (idx + 1) % 2;
111 switch (m) 111 switch (m)
112 { 112 {
113 /**
114 * Used to mark the "payload" of a non-payload message.
115 */
116 case 0:
117 return "";
118
113 /** 119 /**
114 * Request the creation of a path 120 * Request the creation of a path
115 */ 121 */