From: Matthias Wachs Date: Mon, 23 Jan 2012 08:53:46 +0000 (+0000) Subject: - fixing compile error X-Git-Tag: initial-import-from-subversion-38251~15173 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18357100980d3ca6c417bfb975a57b13c6d1263d;p=oweals%2Fgnunet.git - fixing compile error --- 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) struct GNUNET_MessageHeader *hdr = buf; hdr->size = htons (sizeof (struct GNUNET_MessageHeader)); - hdr->type = htons (GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP); + hdr->type = htons (GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE); return ntohs (hdr->size); } @@ -163,7 +163,7 @@ run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) { const static struct GNUNET_CORE_MessageHandler handlers[] = { - {&receive, GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP, 0}, + {&receive, GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE, 0}, {NULL, 0, 0} };