aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-05 12:22:15 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-05 12:22:15 +0000
commita6790f928fdc3d0fff02fa28e5ad6c4561a87ecf (patch)
treefd8bfbb3a277df363c81cf85a349abe8008e83ba /src/dht
parent2f26ab4c1a43a754fbb1d2cc3e27e82db272f81e (diff)
downloadgnunet-a6790f928fdc3d0fff02fa28e5ad6c4561a87ecf.tar.gz
gnunet-a6790f928fdc3d0fff02fa28e5ad6c4561a87ecf.zip
- Use correct message types
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 8c1f42499..4ea5dd6f4 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -1617,7 +1617,7 @@ handle_dht_p2p_put (void *cls, const struct GNUNET_PeerIdentity *peer,
1617 pp, payload, payload_size); 1617 pp, payload, payload_size);
1618 } 1618 }
1619 GNUNET_CONTAINER_bloomfilter_free (bf); 1619 GNUNET_CONTAINER_bloomfilter_free (bf);
1620 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_P2P_PUT, 1620 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_MONITOR_PUT,
1621 GNUNET_TIME_absolute_ntoh (put->expiration_time), &put->key, 1621 GNUNET_TIME_absolute_ntoh (put->expiration_time), &put->key,
1622 putlen, put_path, 0, NULL, ntohl(put->desired_replication_level), 1622 putlen, put_path, 0, NULL, ntohl(put->desired_replication_level),
1623 ntohl (put->type), payload, payload_size); 1623 ntohl (put->type), payload, payload_size);
@@ -1826,7 +1826,7 @@ handle_dht_p2p_get (void *cls, const struct GNUNET_PeerIdentity *peer,
1826 1, GNUNET_NO); 1826 1, GNUNET_NO);
1827 } 1827 }
1828 1828
1829 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_P2P_GET, 1829 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET,
1830 GNUNET_TIME_UNIT_FOREVER_ABS, &get->key, 0, NULL, 0, NULL, 1830 GNUNET_TIME_UNIT_FOREVER_ABS, &get->key, 0, NULL, 0, NULL,
1831 ntohl (get->desired_replication_level), type, NULL, 0); 1831 ntohl (get->desired_replication_level), type, NULL, 0);
1832 1832
@@ -1962,7 +1962,7 @@ handle_dht_p2p_result (void *cls, const struct GNUNET_PeerIdentity *peer,
1962 xget_path, data, data_size); 1962 xget_path, data, data_size);
1963 } 1963 }
1964 1964
1965 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT, 1965 GDS_CLIENTS_process_monitor (GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET_RESP,
1966 GNUNET_TIME_absolute_ntoh (prm->expiration_time), &prm->key, 1966 GNUNET_TIME_absolute_ntoh (prm->expiration_time), &prm->key,
1967 put_path_length, put_path, get_path_length, get_path, 1967 put_path_length, put_path, get_path_length, get_path,
1968 0, type, data, data_size); 1968 0, type, data, data_size);