projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmjene za lintian
[ossec-hids.git]
/
src
/
client-agent
/
notify.c
diff --git
a/src/client-agent/notify.c
b/src/client-agent/notify.c
index
e698380
..
bfd4341
100755
(executable)
--- a/
src/client-agent/notify.c
+++ b/
src/client-agent/notify.c
@@
-90,7
+90,7
@@
void run_notify()
#ifndef ONEWAY
/* Check if the server has responded */
#ifndef ONEWAY
/* Check if the server has responded */
- if((curr_time - available_server) > (3*NOTIFY_TIME))
+ if((curr_time - available_server) > agt->max_time_reconnect_try)
{
/* If response is not available, set lock and
* wait for it.
{
/* If response is not available, set lock and
* wait for it.
@@
-108,7
+108,7
@@
void run_notify()
/* Check if time has elapsed */
/* Check if time has elapsed */
- if((curr_time - g_saved_time) < (NOTIFY_TIME - 120))
+ if((curr_time - g_saved_time) < agt->notify_time)
{
return;
}
{
return;
}