diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-23 09:24:30 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-23 09:24:30 +0000 |
commit | bacd439e747d5f765927ffe0a114ac95353e40d2 (patch) | |
tree | dc424bd6bf7697bdb28da29448cef21a1038e5be /src/core | |
parent | 59f76f044e8654891c2b5b218b4e0c738ee00c48 (diff) | |
download | gnunet-bacd439e747d5f765927ffe0a114ac95353e40d2.tar.gz gnunet-bacd439e747d5f765927ffe0a114ac95353e40d2.zip |
- use dummy msg type intended for testing
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/test_core_api_send_to_self.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index 4346acbd7..655fff459 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -113,7 +113,7 @@ send_message (void *cls, size_t size, void *buf) | |||
113 | struct GNUNET_MessageHeader *hdr = buf; | 113 | struct GNUNET_MessageHeader *hdr = buf; |
114 | 114 | ||
115 | hdr->size = htons (sizeof (struct GNUNET_MessageHeader)); | 115 | hdr->size = htons (sizeof (struct GNUNET_MessageHeader)); |
116 | hdr->type = htons (GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE); | 116 | hdr->type = htons (GNUNET_MESSAGE_TYPE_DUMMY); |
117 | return ntohs (hdr->size); | 117 | return ntohs (hdr->size); |
118 | } | 118 | } |
119 | 119 | ||
@@ -163,7 +163,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
163 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 163 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
164 | { | 164 | { |
165 | const static struct GNUNET_CORE_MessageHandler handlers[] = { | 165 | const static struct GNUNET_CORE_MessageHandler handlers[] = { |
166 | {&receive, GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE, 0}, | 166 | {&receive, GNUNET_MESSAGE_TYPE_DUMMY, 0}, |
167 | {NULL, 0, 0} | 167 | {NULL, 0, 0} |
168 | }; | 168 | }; |
169 | 169 | ||