diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-20 17:37:44 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-20 17:37:44 +0200 |
commit | 5820c5f3e8dc69bdee969d6487d084e884595069 (patch) | |
tree | c44cda2313dd8ae3d1f415e864500a747ac4b23c /grammar | |
parent | 686540cebee2920341911860c0019e687174daa8 (diff) | |
download | rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.tar.gz rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.tar.xz rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.zip |
milestone: done plumbing to call plugin create action instance entry point
Diffstat (limited to 'grammar')
-rw-r--r-- | grammar/rainerscript.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c index 76e3a0a4..c953c840 100644 --- a/grammar/rainerscript.c +++ b/grammar/rainerscript.c @@ -146,14 +146,15 @@ nvlstFindName(struct nvlst *lst, es_str_t *name) } -/* find a name starting at node lst. SAme as nvlstFindName, but +/* find a name starting at node lst. Same as nvlstFindName, but * for classical C strings. This is useful because the config system * uses C string constants. */ static inline struct nvlst* nvlstFindNameCStr(struct nvlst *lst, char *name) { - while(lst != NULL && es_strbufcmp(lst->name, (uchar*)name, strlen(name))) + es_size_t lenName = strlen(name); + while(lst != NULL && es_strcasebufcmp(lst->name, (uchar*)name, lenName)) lst = lst->next; return lst; } |