diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-10 08:18:10 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-10 08:18:10 +0200 |
commit | 8c0ac28fd9ff006154e78ffabd75a088cb8fe087 (patch) | |
tree | 936b3b0635b78826bdfb27ef4ba16421ad9be161 /runtime/ctok.c | |
parent | 2658319224574a54a1c76ee02b6a7f3af5dab068 (diff) | |
download | rsyslog-8c0ac28fd9ff006154e78ffabd75a088cb8fe087.tar.gz rsyslog-8c0ac28fd9ff006154e78ffabd75a088cb8fe087.tar.xz rsyslog-8c0ac28fd9ff006154e78ffabd75a088cb8fe087.zip |
fixed syntax error (typo in var name) and cleaup
Diffstat (limited to 'runtime/ctok.c')
-rw-r--r-- | runtime/ctok.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/ctok.c b/runtime/ctok.c index de2bd8a8..c938a292 100644 --- a/runtime/ctok.c +++ b/runtime/ctok.c @@ -413,15 +413,15 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken) CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ switch(c) { case '=': /* == */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ pToken->tok = (c == '=')? ctok_CMP_EQ : ctok_INVALID; break; case '!': /* != */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ pToken->tok = (c == '=')? ctok_CMP_NEQ : ctok_INVALID; break; case '<': /* <, <=, <> */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ if(c == '=') { pToken->tok = ctok_CMP_LTEQ; } else if(c == '>') { @@ -431,7 +431,7 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken) } break; case '>': /* >, >= */ - CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */ + CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a character */ if(c == '=') { pToken->tok = ctok_CMP_GTEQ; } else { @@ -567,8 +567,6 @@ CODESTARTobjQueryInterface(ctok) * work here (if we can support an older interface version - that, * of course, also affects the "if" above). */ - //xxxpIf->oID = OBJctok; - pIf->Construct = ctokConstruct; pIf->ConstructFinalize = ctokConstructFinalize; pIf->Destruct = ctokDestruct; |