diff options
Diffstat (limited to 'src/dht/gnunet-service-dht_clients.c')
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index 932b04d9b..be6e22d01 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c | |||
@@ -1318,7 +1318,7 @@ GDS_CLIENTS_process_get_resp (enum GNUNET_BLOCK_Type type, | |||
1318 | cl_size = 0; | 1318 | cl_size = 0; |
1319 | for (m = monitor_head; NULL != m; m = m->next) | 1319 | for (m = monitor_head; NULL != m; m = m->next) |
1320 | { | 1320 | { |
1321 | if (((GNUNET_BLOCK_TYPE_ANY == m->type) ||(m->type == type) ) && | 1321 | if (((GNUNET_BLOCK_TYPE_ANY == m->type) || (m->type == type) ) && |
1322 | ((NULL == m->key) || | 1322 | ((NULL == m->key) || |
1323 | (memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0) )) | 1323 | (memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0) )) |
1324 | { | 1324 | { |
@@ -1402,7 +1402,7 @@ GDS_CLIENTS_process_put (uint32_t options, | |||
1402 | cl_size = 0; | 1402 | cl_size = 0; |
1403 | for (m = monitor_head; NULL != m; m = m->next) | 1403 | for (m = monitor_head; NULL != m; m = m->next) |
1404 | { | 1404 | { |
1405 | if (((GNUNET_BLOCK_TYPE_ANY == m->type) ||(m->type == type) ) && | 1405 | if (((GNUNET_BLOCK_TYPE_ANY == m->type) || (m->type == type) ) && |
1406 | ((NULL == m->key) || | 1406 | ((NULL == m->key) || |
1407 | (memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0) )) | 1407 | (memcmp (key, m->key, sizeof(struct GNUNET_HashCode)) == 0) )) |
1408 | { | 1408 | { |
@@ -1540,4 +1540,5 @@ GDS_CLIENTS_done () | |||
1540 | } | 1540 | } |
1541 | } | 1541 | } |
1542 | 1542 | ||
1543 | |||
1543 | /* end of gnunet-service-dht_clients.c */ | 1544 | /* end of gnunet-service-dht_clients.c */ |