Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
5c615095
Commit
5c615095
authored
Mar 16, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename flush_old_sources to expire_sources.
parent
fab068cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
source.c
source.c
+2
-2
source.h
source.h
+1
-1
No files found.
source.c
View file @
5c615095
...
...
@@ -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
;
...
...
source.h
View file @
5c615095
...
...
@@ -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
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment