projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* set an application specific prefered Buffer size in places where debugging shows...
[citadel.git]
/
webcit
/
webcit.c
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index a04d78c3fb44db78d61020b25187ccc6514fff19..f18493333e815883f94733eec090cd6b69580514 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-506,7
+506,7
@@
void ReadPostData(void)
wcsession *WCC = WC;
StrBuf *content = NULL;
wcsession *WCC = WC;
StrBuf *content = NULL;
- content = NewStrBuf
(
);
+ content = NewStrBuf
Plain(NULL, WCC->Hdr->HR.ContentLength + 256
);
StrBufPrintf(content,
"Content-type: %s\n"
StrBufPrintf(content,
"Content-type: %s\n"
@@
-792,8
+792,8
@@
SessionNewModule_WEBCIT
(wcsession *sess)
{
sess->ImportantMsg = NewStrBuf();
(wcsession *sess)
{
sess->ImportantMsg = NewStrBuf();
- sess->WBuf = NewStrBuf
(
);
- sess->HBuf = NewStrBuf
(
);
+ sess->WBuf = NewStrBuf
Plain(NULL, SIZ * 4
);
+ sess->HBuf = NewStrBuf
Plain(NULL, SIZ / 4
);
}
void
}
void