summaryrefslogtreecommitdiff
path: root/Ivy/IvyApplication.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/IvyApplication.cxx')
-rw-r--r--Ivy/IvyApplication.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx
index 07f37be..a262fa2 100644
--- a/Ivy/IvyApplication.cxx
+++ b/Ivy/IvyApplication.cxx
@@ -276,7 +276,7 @@ void IvyApplication::OnReceive(char * line)
void IvyApplication::SendMsg(MsgType msg, int id, const char * arg)
{
- char buffer[1024];
+ char buffer[4096];
if ( arg )
_snprintf_s( buffer, sizeof( buffer ),sizeof( buffer )-1, "%d %d%c%s\n", msg, id, ARG_START, arg );
else sprintf_s( buffer,sizeof( buffer ), "%d %d%c\n", msg, id, ARG_START);