aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_send_to_self.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-01-23 08:53:46 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-01-23 08:53:46 +0000
commit18357100980d3ca6c417bfb975a57b13c6d1263d (patch)
treefababc813ff5acb62edae1ad263d0b51e4374445 /src/core/test_core_api_send_to_self.c
parent41b705f79807d8938c20fe67490c7e63c5f16165 (diff)
downloadgnunet-18357100980d3ca6c417bfb975a57b13c6d1263d.tar.gz
gnunet-18357100980d3ca6c417bfb975a57b13c6d1263d.zip
- fixing compile error
Diffstat (limited to 'src/core/test_core_api_send_to_self.c')
-rw-r--r--src/core/test_core_api_send_to_self.c4
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 29b1f75f3..4346acbd7 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_SERVICE_UDP); 116 hdr->type = htons (GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE);
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_SERVICE_UDP, 0}, 166 {&receive, GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE, 0},
167 {NULL, 0, 0} 167 {NULL, 0, 0}
168 }; 168 };
169 169