X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fclient-agent%2Fintcheck_op.c;h=a7025c62dd4e0e36899d93cfa884e426bc0e7963;hb=280230a44cb9f9872652b6bb80de45a27af411f4;hp=deab8ba50812baeee5eb4a7666e0027473f5e5ca;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/client-agent/intcheck_op.c b/src/client-agent/intcheck_op.c index deab8ba..a7025c6 100755 --- a/src/client-agent/intcheck_op.c +++ b/src/client-agent/intcheck_op.c @@ -1,11 +1,12 @@ -/* @(#) $Id: intcheck_op.c,v 1.4 2009/06/24 17:06:24 dcid Exp $ */ +/* @(#) $Id: ./src/client-agent/intcheck_op.c, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ @@ -42,7 +43,7 @@ int intcheck_file(char *file_name, char *dir) if(lstat(file_name, &statbuf) < 0) #endif { - snprintf(newsum, 911,"%c:%s:-1 %s%s", SYSCHECK_MQ, SYSCHECK, + snprintf(newsum, 911,"%c:%s:-1 %s%s", SYSCHECK_MQ, SYSCHECK, dir, file_name); send_msg(0, newsum); @@ -70,7 +71,7 @@ int intcheck_file(char *file_name, char *dir) } } - + snprintf(newsum,911,"%c:%s:%d:%d:%d:%d:%s:%s %s%s", SYSCHECK_MQ, SYSCHECK, (int)statbuf.st_size,