Commit 5c615095 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Rename flush_old_sources to expire_sources.

parent fab068cd
......@@ -69,7 +69,7 @@ find_source(const unsigned char *id, const unsigned char *p, unsigned char plen,
if(!src) {
if(numsrcs >= MAXSRCS) {
rc = flush_old_sources();
rc = expire_sources();
if(rc)
goto again;
fprintf(stderr, "Too many sources.\n");
......@@ -157,7 +157,7 @@ update_source(struct source *src,
}
int
flush_old_sources()
expire_sources()
{
int i, changed, rc;
......
......@@ -43,4 +43,4 @@ struct source *find_recent_source(const unsigned char *p,
unsigned char plen);
void update_source(struct source *src,
unsigned short seqno, unsigned short metric);
int flush_old_sources(void);
int expire_sources(void);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment