summaryrefslogtreecommitdiffstats
path: root/outchannel.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-25 18:44:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-25 18:44:48 +0200
commit464dcf2339634a2cda0244011abe7ed8f6ed2fe5 (patch)
treefc32c52e03437ab051d6301a595c8bb7a4a90a44 /outchannel.c
parent07a7152ea0ec499a481942e9003079efffd7bb8f (diff)
downloadrsyslog-464dcf2339634a2cda0244011abe7ed8f6ed2fe5.tar.gz
rsyslog-464dcf2339634a2cda0244011abe7ed8f6ed2fe5.tar.xz
rsyslog-464dcf2339634a2cda0244011abe7ed8f6ed2fe5.zip
some more stringbuffer optimization
Diffstat (limited to 'outchannel.c')
-rw-r--r--outchannel.c2
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) {