google-code-export / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

removing some unused functions: getFirstPeer() and getNextPeer() #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Patch against: branches/LUSCA_HEAD (revision 14384)

As of peeking around peer selection code, I've found 2 functions not used
in peer_*.c or neighbors.c. They seems left to be used, but were not. It's
a small cosmetic patch.

Original issue reported on code.google.com by lucas.br...@gmail.com on 15 Jan 2010 at 1:25

Attachments:

GoogleCodeExporter commented 9 years ago
These functions are used in the cache-digests stats code. Check out src/stat.c 
and 
search for getNextPeer().

Original comment by adrian.c...@gmail.com on 14 Feb 2010 at 8:55

GoogleCodeExporter commented 9 years ago
I agree with you, but the patch also changes src/stat.c to not use those 
functions.

Original comment by lucas.br...@gmail.com on 4 Mar 2010 at 3:08