[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-cvs] ossec-hids: os_xml_access.c (HEAD) [dcid]
Module name: ossec-hids
Changes by: dcid 07/09/07 18:45:07
Modified files:
os_xml_access.c
Log message:
Description: Fixing multiple typos (by Slava Semushin <php-coder at altlinux.org>)
Reviewed by: dcid
Bug: http://www.ossec.net/bugs/show_bug.cgi?id=71
Index: os_xml_access.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/os_xml/os_xml_access.c,v
diff -u -r1.5 -r1.6
--- os_xml_access.c 5 Sep 2007 00:38:29 -0000 1.5
+++ os_xml_access.c 7 Sep 2007 21:45:06 -0000 1.6
@@ -186,7 +186,7 @@
*/
char *OS_GetOneContentforElement(OS_XML *_lxml, char **element_name)
{
- int sucess=0;
+ int success=0;
char *uniqret=NULL;
char **ret=NULL;
@@ -204,7 +204,7 @@
if(uniqret != NULL)
{
strncpy(uniqret,ret[0],retsize-1);
- sucess=1;
+ success=1;
}
}
}
@@ -214,7 +214,7 @@
break;
free(*ret++);
}
- if(sucess)
+ if(success)
return(uniqret);
return(NULL);
}
@@ -252,7 +252,7 @@
char *OS_GetAttributeContent(OS_XML *_lxml, char **element_name,
char *attribute_name)
{
- int sucess=0;
+ int success=0;
char *uniqret=NULL;
char **ret=NULL;
@@ -272,7 +272,7 @@
if(uniqret != NULL)
{
strncpy(uniqret,ret[0],retsize-1);
- sucess=1;
+ success=1;
}
}
}
@@ -282,7 +282,7 @@
break;
free(*ret++);
}
- if(sucess)
+ if(success)
return(uniqret);
return(NULL);
}
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.