Revision 480df8da

View differences:

src/PeerSampler/cyclon.c
187 187
    context->dst = nodeid_dup(context->dst);
188 188
    cache_del(context->local_cache, context->dst);
189 189
    context->flying_cache = rand_cache(context->local_cache, context->sent_entries - 1);
190
    cyclon_query(context->pc, context->flying_cache, context->dst);
190
    return cyclon_query(context->pc, context->flying_cache, context->dst);
191 191
  }
192 192
  cache_check(context->local_cache);
193 193

  
src/PeerSampler/ncast.c
159 159

  
160 160
  if (time_to_send(context)) {
161 161
    cache_update(context->local_cache);
162
    ncast_query(context->tc, context->local_cache);
162
    return ncast_query(context->tc, context->local_cache);
163 163
  }
164 164

  
165 165
  return 0;

Also available in: Unified diff