Permalink
Browse files

print debug information for cached datasets

  • Loading branch information...
1 parent abafb7f commit 191461df62036790b0e28f40e3940ac2dc810609 @matthiaskramm committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 net.c
View
@@ -495,7 +495,7 @@ server_array_t* distribute_dataset(dataset_t*data)
switch(resp) {
case RESPONSE_DUPL_DATA:
case RESPONSE_OK:
- printf("seeded host %s\n", server->name);
+ printf("seeded host %s%s\n", server->name, resp==RESPONSE_DUPL_DATA?" (cached)":"");
status[seed_nr] = 1;
seeds[num_seeds++] = server;
break;

0 comments on commit 191461d

Please sign in to comment.