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
48bacd83
Commit
48bacd83
authored
Feb 20, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove first noisy loop.
This now happens in network_up.
parent
400dc572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
babel.c
babel.c
+0
-10
No files found.
babel.c
View file @
48bacd83
...
@@ -357,16 +357,6 @@ main(int argc, char **argv)
...
@@ -357,16 +357,6 @@ main(int argc, char **argv)
expiry_time
=
now
.
tv_sec
+
20
+
random
()
%
20
;
expiry_time
=
now
.
tv_sec
+
20
+
random
()
%
20
;
/* Make some noise so that others notice us */
/* Make some noise so that others notice us */
for
(
i
=
0
;
i
<
numnets
;
i
++
)
{
if
(
!
nets
[
i
].
up
)
continue
;
gettimeofday
(
&
now
,
NULL
);
send_hello
(
&
nets
[
i
]);
send_request
(
&
nets
[
i
],
NULL
,
0
,
0
,
0
,
0
);
flushbuf
(
&
nets
[
i
]);
usleep
(
50000
+
random
()
%
100000
);
}
for
(
i
=
0
;
i
<
numnets
;
i
++
)
{
for
(
i
=
0
;
i
<
numnets
;
i
++
)
{
if
(
!
nets
[
i
].
up
)
if
(
!
nets
[
i
].
up
)
continue
;
continue
;
...
...
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