diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-26 15:31:40 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-26 15:31:40 +0200 |
commit | 7ea63db2f9d6b375dc95696e47357d73927f2d3d (patch) | |
tree | 2a250373f792b5604e151f059c803eb6a76a1776 /runtime/stringbuf.h | |
parent | 1f361c5eb9028e7750a1c84811c9c3ac5cdd0a31 (diff) | |
download | rsyslog-7ea63db2f9d6b375dc95696e47357d73927f2d3d.tar.gz rsyslog-7ea63db2f9d6b375dc95696e47357d73927f2d3d.tar.xz rsyslog-7ea63db2f9d6b375dc95696e47357d73927f2d3d.zip |
optimization: propert names are now internally identified by integers
Diffstat (limited to 'runtime/stringbuf.h')
-rw-r--r-- | runtime/stringbuf.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/stringbuf.h b/runtime/stringbuf.h index 86c7e943..400c74eb 100644 --- a/runtime/stringbuf.h +++ b/runtime/stringbuf.h @@ -76,8 +76,6 @@ static inline rsRetVal cstrAppendChar(cstr_t *pThis, uchar c) { rsRetVal iRet = RS_RET_OK; - rsCHECKVALIDOBJECT(pThis, OIDrsCStr); - if(pThis->iStrLen >= pThis->iBufSize) { CHKiRet(rsCStrExtendBuf(pThis, 1)); /* need more memory! */ } @@ -100,7 +98,6 @@ static inline rsRetVal cstrFinalize(cstr_t *pThis) { rsRetVal iRet = RS_RET_OK; - rsCHECKVALIDOBJECT(pThis, OIDrsCStr); if(pThis->iStrLen > 0) { /* terminate string only if one exists */ |