X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient-agent%2Fsendmsg.c;fp=src%2Fclient-agent%2Fsendmsg.c;h=507b61c47be9925f5eada828085c1fba694aea13;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=f92a457b7685ee80f3bfb319acc85d9d1cec624a;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a;p=ossec-hids.git diff --git a/src/client-agent/sendmsg.c b/src/client-agent/sendmsg.c index f92a457..507b61c 100755 --- 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);