diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-06 11:32:54 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-06 11:32:54 +0200 |
commit | 4fcfea31e3c46d27c5a54a8d1d9925e59550f82c (patch) | |
tree | c6936f35eb7700eccc6a3c9feaf306eba7679e16 /grammar/utils.c | |
parent | 2081c264a3b3219ed4756e548ec9b122fae9328c (diff) | |
download | rsyslog-4fcfea31e3c46d27c5a54a8d1d9925e59550f82c.tar.gz rsyslog-4fcfea31e3c46d27c5a54a8d1d9925e59550f82c.tar.bz2 rsyslog-4fcfea31e3c46d27c5a54a8d1d9925e59550f82c.zip |
milestone/[NONWORKING]: first integration of new parser, rules are not yet handled
Diffstat (limited to 'grammar/utils.c')
-rw-r--r-- | grammar/utils.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/grammar/utils.c b/grammar/utils.c index 0812fa6b..f49af9b0 100644 --- a/grammar/utils.c +++ b/grammar/utils.c @@ -609,3 +609,12 @@ cnffuncNew(es_str_t *fname, struct cnffparamlst* paramlst) } return func; } + +void +cstrPrint(char *text, es_str_t *estr) +{ + char *str; + str = es_str2cstr(estr, NULL); + dbgprintf("%s%s", text, str); + free(str); +} |