[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-514
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-514-g630ad22 |
Date: |
Tue, 30 Aug 2011 07:38:44 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".
The branch, master has been updated
via 630ad2235de3336f97d232a218fe82ceadf79009 (commit)
from f399bffa3df2df71969926c8480c3b86475454bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 630ad2235de3336f97d232a218fe82ceadf79009
Author: Giuseppe Scrivano <address@hidden>
Date: Tue Aug 30 09:38:38 2011 +0200
NodeTree: accept `name' and `value' both in lower and upper case.
diff --git a/myserver/src/conf/xml_conf.cpp b/myserver/src/conf/xml_conf.cpp
index 72443ae..5387e34 100644
--- a/myserver/src/conf/xml_conf.cpp
+++ b/myserver/src/conf/xml_conf.cpp
@@ -54,10 +54,10 @@ void XmlConf::readNode (xmlNodePtr lcur,
for (attrs = lcur->properties; attrs; attrs = attrs->next)
{
- if (!xmlStrcmp (attrs->name, (const xmlChar *)"name") &&
+ if (!xmlStrcasecmp (attrs->name, (const xmlChar *)"name") &&
attrs->children && attrs->children->content)
name = (const char*)attrs->children->content;
- else if (!xmlStrcmp (attrs->name, (const xmlChar *)"value") &&
+ else if (!xmlStrcasecmp (attrs->name, (const xmlChar *)"value") &&
attrs->children && attrs->children->content)
value = (const char*)attrs->children->content;
else
-----------------------------------------------------------------------
Summary of changes:
myserver/src/conf/xml_conf.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU MyServer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [SCM] GNU MyServer branch, master, updated. v0.9.2-514-g630ad22,
Giuseppe Scrivano <=