From: Bart Polot Date: Mon, 23 Apr 2012 08:17:53 +0000 (+0000) Subject: - Wrong message type X-Git-Tag: initial-import-from-subversion-38251~13824 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0aa07516b001eed4b156ee53eea1f6fdf26e0cb9;p=oweals%2Fgnunet.git - Wrong message type --- 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, pending->msg = &m->header; pending->handle = handle; pending->free_on_send = GNUNET_YES; - m->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET); + m->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_MONITOR_START); m->header.size = htons (sizeof (struct GNUNET_DHT_MonitorStartMessage)); m->type = htonl(type); m->get = (NULL != get_cb);