diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-04-23 08:17:53 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-04-23 08:17:53 +0000 |
commit | 0aa07516b001eed4b156ee53eea1f6fdf26e0cb9 (patch) | |
tree | 5f0242bc1a008d1c4c29e5966cf9ab522365f0fe /src/dht | |
parent | b759048bcdf87fbcb01ac0d0abc77c531d3bf0e2 (diff) | |
download | gnunet-0aa07516b001eed4b156ee53eea1f6fdf26e0cb9.tar.gz gnunet-0aa07516b001eed4b156ee53eea1f6fdf26e0cb9.zip |
- Wrong message type
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/dht_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c index 3f850b3e7..9e95155a9 100644 --- a/src/dht/dht_api.c +++ b/src/dht/dht_api.c | |||
@@ -1123,7 +1123,7 @@ GNUNET_DHT_monitor_start (struct GNUNET_DHT_Handle *handle, | |||
1123 | pending->msg = &m->header; | 1123 | pending->msg = &m->header; |
1124 | pending->handle = handle; | 1124 | pending->handle = handle; |
1125 | pending->free_on_send = GNUNET_YES; | 1125 | pending->free_on_send = GNUNET_YES; |
1126 | m->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET); | 1126 | m->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_MONITOR_START); |
1127 | m->header.size = htons (sizeof (struct GNUNET_DHT_MonitorStartMessage)); | 1127 | m->header.size = htons (sizeof (struct GNUNET_DHT_MonitorStartMessage)); |
1128 | m->type = htonl(type); | 1128 | m->type = htonl(type); |
1129 | m->get = (NULL != get_cb); | 1129 | m->get = (NULL != get_cb); |