Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
a40d8b02
Commit
a40d8b02
authored
Dec 21, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sevhistmon: bugfix in node handshake
parent
4a0eedc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/exe/rt_sevhistmon/src/rt_sevhistmon.cpp
src/exe/rt_sevhistmon/src/rt_sevhistmon.cpp
+9
-3
No files found.
src/exe/rt_sevhistmon/src/rt_sevhistmon.cpp
View file @
a40d8b02
...
...
@@ -399,7 +399,7 @@ int rt_sevhistmon::connect()
// Check if this node should be connected
bool
found
=
false
;
for
(
unsigned
int
j
=
0
;
j
<
m_hs
.
size
();
j
++
)
{
if
(
m_hs
[
i
].
configerror
)
if
(
m_hs
[
j
].
configerror
)
continue
;
if
(
cdh_NoCaseStrcmp
(
m_nodes
[
i
].
name
,
m_hs
[
j
].
nodename
)
==
0
)
{
found
=
true
;
...
...
@@ -444,6 +444,7 @@ bool rt_sevhistmon::send_connect( pwr_tNid nid, pwr_tStatus *sts)
return
ODD
(
*
sts
);
}
bool
rt_sevhistmon
::
send_server_status_request
(
pwr_tStatus
*
sts
)
{
int
stime
;
...
...
@@ -627,6 +628,13 @@ int rt_sevhistmon::mainloop()
m_loopcnt
++
;
send_data
();
send_server_status_request
(
&
sts
);
if
(
!
m_allconnected
)
{
int
reconnect_time
=
int
(
20.0
/
m_scantime
);
if
(
m_loopcnt
%
reconnect_time
==
0
)
retry_connect
();
}
continue
;
}
...
...
@@ -679,8 +687,6 @@ int rt_sevhistmon::mainloop()
qcom_Free
(
&
sts
,
mp
);
if
(
!
m_allconnected
)
retry_connect
();
}
}
...
...
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