Permalink
Browse files

Merge pull request #5 from grierj/master

Use APR based string compare
  • Loading branch information...
2 parents 0b4567a + 69e3ed1 commit d2e2c9233e4a5146c49f346fcbdc969d984412f4 @erikwb erikwb committed Dec 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libcrange/source/functions/yamlfile.c
View
2 libcrange/source/functions/yamlfile.c
@@ -274,7 +274,7 @@ static range* _expand_cluster(range_request* rr,
res = set_get_data(e->sections, section);
if (!res) {
- if(!strcmp(section, "CLUSTER")) {
+ if(!apr_strnatcmp(section, "CLUSTER")) {
res = "";
} else {
char* cluster_section = apr_psprintf(req_pool,

0 comments on commit d2e2c92

Please sign in to comment.