-/* @(#) $Id: win_agent.c,v 1.56 2009/12/01 20:27:01 dcid Exp $ */
+/* @(#) $Id$ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights 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.
*
* License details at the LICENSE file included with OSSEC or
cu_time = time(0);
+ #ifndef ONEWAY
/* Check if the server has responded */
if((cu_time - available_server) > (NOTIFY_TIME - 180))
{
}
}
}
-
+ #else
+ if(0)
+ {
+ }
+ #endif
+
/* Send notification */
else if((cu_time - __win32_curr_time) > (NOTIFY_TIME - 200))