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:
59f76f0
)
- use dummy msg type intended for testing
author
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 23 Jan 2012 09:24:30 +0000
(09:24 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 23 Jan 2012 09:24:30 +0000
(09:24 +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 4346acbd78fbf057c5ce98793b9f9d670a158366..655fff45957f74622570a7ce39bc60d57d14d8a0 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_UDP_TO_SERVICE
);
+ hdr->type = htons (GNUNET_MESSAGE_TYPE_
DUMMY
);
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_UDP_TO_SERVICE
, 0},
+ {&receive, GNUNET_MESSAGE_TYPE_
DUMMY
, 0},
{NULL, 0, 0}
};