projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.7
[ossec-hids.git]
/
src
/
win32
/
setup-shared.c
diff --git
a/src/win32/setup-shared.c
b/src/win32/setup-shared.c
index
081beaa
..
8b450ae
100755
(executable)
--- a/
src/win32/setup-shared.c
+++ b/
src/win32/setup-shared.c
@@
-1,4
+1,5
@@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/win32/setup-shared.c, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
@@
-8,7
+9,7
@@
* License (version 2) as published by the FSF - Free Software
* Foundation
*/
* License (version 2) as published by the FSF - Free Software
* Foundation
*/
-
+
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-53,7
+54,7
@@
int dogrep(char *file, char *str)
/* Clearing memory */
memset(line, '\0', OS_MAXSTR +1);
/* Clearing memory */
memset(line, '\0', OS_MAXSTR +1);
- /* Reading file and looking for str */
+ /* Reading file and looking for str */
while(fgets(line, OS_MAXSTR, fp) != NULL)
{
if(OS_Match(str, line))
while(fgets(line, OS_MAXSTR, fp) != NULL)
{
if(OS_Match(str, line))