summaryrefslogtreecommitdiffstats
path: root/runtime/ctok.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-27 09:13:11 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-27 09:13:11 +0200
commitb5faa3c4cef4d8a076a2de9953806ea90c9052d7 (patch)
tree8366c860ce6ec437ed1f3ddf6d97dccd8b526c7f /runtime/ctok.c
parent2c46f3de7de4cdcfeac895a9711e1e99765b6a38 (diff)
downloadrsyslog-b5faa3c4cef4d8a076a2de9953806ea90c9052d7.tar.gz
rsyslog-b5faa3c4cef4d8a076a2de9953806ea90c9052d7.tar.xz
rsyslog-b5faa3c4cef4d8a076a2de9953806ea90c9052d7.zip
misc small changes: corrected version, removed some debug output,
..., restructured makefile, added some troubleshooting to test case (program rscript-parse.c has problem due to different structure alignment, where I do not yet know the reason)
Diffstat (limited to 'runtime/ctok.c')
-rw-r--r--runtime/ctok.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/ctok.c b/runtime/ctok.c
index 927e6a47..11951d28 100644
--- a/runtime/ctok.c
+++ b/runtime/ctok.c
@@ -390,7 +390,6 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken)
uchar szWord[128];
int bRetry = 0; /* retry parse? Only needed for inline comments... */
-dbgprintf("ctokGetToken\n");
ISOBJ_TYPE_assert(pThis, ctok);
ASSERT(ppToken != NULL);
@@ -409,7 +408,6 @@ dbgprintf("ctokGetToken\n");
/* find the next token. We may loop when we have inline comments */
do {
-dbgprintf("we search for a new token\n");
bRetry = 0;
CHKiRet(ctokSkipWhitespaceFromStream(pThis));
CHKiRet(ctokGetCharFromStream(pThis, &c)); /* read a charater */
@@ -529,6 +527,7 @@ dbgprintf("we search for a new token\n");
dbgoprint((obj_t*) pToken, "token: %d\n", pToken->tok);
finalize_it:
+//dbgprintf("ctokGetToken, returns %d, returns token %d, addr %p\n", iRet, (*ppToken)->tok, &((*ppToken)->tok));
if(iRet != RS_RET_OK) {
if(pToken != NULL)
ctok_token.Destruct(&pToken);