projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
novi upstream verzije 2.8.3
[ossec-hids.git]
/
src
/
client-agent
/
sendmsg.c
diff --git
a/src/client-agent/sendmsg.c
b/src/client-agent/sendmsg.c
index
f92a457
..
507b61c
100755
(executable)
--- a/
src/client-agent/sendmsg.c
+++ b/
src/client-agent/sendmsg.c
@@
-31,7
+31,7
@@
int send_msg(int agentid, char *msg)
}
/* Send msg_size of crypt_msg */
- if(OS_SendUDPbySize(logr->sock, msg_size, crypt_msg) < 0)
+ if(OS_SendUDPbySize(agt->sock, msg_size, crypt_msg) < 0)
{
merror(SEND_ERROR,ARGV0, "server");
sleep(1);