diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:05:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:05:17 +0000 |
commit | 89975a4c15ba6829bcf10e3287aac013d2f58973 (patch) | |
tree | c06477a31ff8dead4cf88d6fd8ca73520206cfda /src/core/test_core_api_send_to_self.c | |
parent | 7884866ee7cf796384342d104944256192d774a0 (diff) | |
download | gnunet-89975a4c15ba6829bcf10e3287aac013d2f58973.tar.gz gnunet-89975a4c15ba6829bcf10e3287aac013d2f58973.zip |
stuff
Diffstat (limited to 'src/core/test_core_api_send_to_self.c')
-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 b287ecf05..f2ddeb9fe 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -110,7 +110,7 @@ send_message (void* cls, size_t size, void* buf) | |||
110 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Sending!\n"); | 110 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Sending!\n"); |
111 | struct GNUNET_MessageHeader *hdr = buf; | 111 | struct GNUNET_MessageHeader *hdr = buf; |
112 | hdr->size = htons(sizeof(struct GNUNET_MessageHeader)); | 112 | hdr->size = htons(sizeof(struct GNUNET_MessageHeader)); |
113 | hdr->type = htons(GNUNET_MESSAGE_TYPE_SERVICE_UDP); | 113 | hdr->type = htons(GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP); |
114 | return ntohs(hdr->size); | 114 | return ntohs(hdr->size); |
115 | } | 115 | } |
116 | 116 | ||
@@ -165,7 +165,7 @@ run (void *cls, | |||
165 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 165 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
166 | { | 166 | { |
167 | const static struct GNUNET_CORE_MessageHandler handlers[] = { | 167 | const static struct GNUNET_CORE_MessageHandler handlers[] = { |
168 | {&receive, GNUNET_MESSAGE_TYPE_SERVICE_UDP, 0}, | 168 | {&receive, GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP, 0}, |
169 | {NULL, 0, 0} | 169 | {NULL, 0, 0} |
170 | }; | 170 | }; |
171 | 171 | ||