projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b705f
)
- fixing compile error
author
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 23 Jan 2012 08:53:46 +0000
(08:53 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 23 Jan 2012 08:53:46 +0000
(08:53 +0000)
src/core/test_core_api_send_to_self.c
patch
|
blob
|
history
diff --git
a/src/core/test_core_api_send_to_self.c
b/src/core/test_core_api_send_to_self.c
index 29b1f75f3602b8e002cd400eeb465c5ae13613e5..4346acbd78fbf057c5ce98793b9f9d670a158366 100644
(file)
--- 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}
};