mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-29 08:36:45 +01:00
increased buffer sizes
This commit is contained in:
parent
7bcc01a51e
commit
80617d400a
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ namespace libxml2_wrapper_impl_tiddle
|
|||
|
||||
std::string formatErrorMsg(const char* fmt, va_list arg)
|
||||
{
|
||||
char buff[1024];
|
||||
char buff[4096];
|
||||
vsprintf(buff, fmt, arg);
|
||||
return std::string(buff);
|
||||
} // formatErrorMsg
|
||||
|
|
|
@ -433,7 +433,7 @@ void libxml2_wrapper<stringT, string_adaptorT>::parse(basic_InputSource<stringT>
|
|||
|
||||
while(!is.resolve()->eof())
|
||||
{
|
||||
char buffer[1024];
|
||||
char buffer[4096];
|
||||
is.resolve()->read(buffer, sizeof(buffer));
|
||||
xmlParseChunk(context_, buffer, is.resolve()->gcount(), is.resolve()->eof());
|
||||
} // while(!in.eof())
|
||||
|
|
Loading…
Add table
Reference in a new issue