summaryrefslogtreecommitdiffstats
path: root/runtime/ctok.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-13 11:03:45 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-13 11:03:45 +0100
commita072dac3638c399303b3308dbb1c5bbdfc59022b (patch)
treeb03b8e7a2fd78aa64abd7ec3bc6819b043577812 /runtime/ctok.c
parent1cd51a5d5a8a2c662e9ebcdea12b2ae01afd34d3 (diff)
parent925b060b2932a7f9ddee1e0fcbaa6266ba03d8b1 (diff)
downloadrsyslog-a072dac3638c399303b3308dbb1c5bbdfc59022b.tar.gz
rsyslog-a072dac3638c399303b3308dbb1c5bbdfc59022b.tar.xz
rsyslog-a072dac3638c399303b3308dbb1c5bbdfc59022b.zip
Merge branch 'lognorm' + some doc added
Conflicts: ChangeLog
Diffstat (limited to 'runtime/ctok.c')
-rw-r--r--runtime/ctok.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/ctok.c b/runtime/ctok.c
index 18ddaed2..6d97568e 100644
--- a/runtime/ctok.c
+++ b/runtime/ctok.c
@@ -277,6 +277,9 @@ ctokGetVar(ctok_t *pThis, ctok_token_t *pToken)
if(c == '$') { /* second dollar, we have a system variable */
pToken->tok = ctok_SYSVAR;
CHKiRet(ctokGetCharFromStream(pThis, &c)); /* "eat" it... */
+ } else if(c == '!') { /* cee variable indicator */
+ pToken->tok = ctok_CEEVAR;
+ CHKiRet(ctokGetCharFromStream(pThis, &c)); /* "eat" it... */
} else {
pToken->tok = ctok_MSGVAR;
}