diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-25 18:44:48 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-25 18:44:48 +0200 |
commit | 464dcf2339634a2cda0244011abe7ed8f6ed2fe5 (patch) | |
tree | fc32c52e03437ab051d6301a595c8bb7a4a90a44 /outchannel.c | |
parent | 07a7152ea0ec499a481942e9003079efffd7bb8f (diff) | |
download | rsyslog-464dcf2339634a2cda0244011abe7ed8f6ed2fe5.tar.gz rsyslog-464dcf2339634a2cda0244011abe7ed8f6ed2fe5.tar.xz rsyslog-464dcf2339634a2cda0244011abe7ed8f6ed2fe5.zip |
some more stringbuffer optimization
Diffstat (limited to 'outchannel.c')
-rw-r--r-- | outchannel.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/outchannel.c b/outchannel.c index 4f8abb32..74c18218 100644 --- a/outchannel.c +++ b/outchannel.c @@ -106,7 +106,6 @@ static rsRetVal get_Field(uchar **pp, uchar **pField) p = *pp; CHKiRet(cstrConstruct(&pStrB)); - rsCStrSetAllocIncrement(pStrB, 32); /* copy the field */ while(*p && *p != ' ' && *p != ',') { @@ -175,7 +174,6 @@ static inline rsRetVal get_restOfLine(uchar **pp, uchar **pBuf) p = *pp; CHKiRet(cstrConstruct(&pStrB)); - rsCStrSetAllocIncrement(pStrB, 32); /* copy the field */ while(*p) { |