summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:56:14 +0000
committerfcolin2007-02-01 12:56:14 +0000
commitb1d9a197c185ccc3b0f67ee55713f16cdebad461 (patch)
tree9452fc1f85d0f3d43677abdf3d066ab16bdfbe67 /Ivy/Ivy.cxx
parentd05917942b4a46fccad770655235fbfdc06bbf99 (diff)
downloadivy-cplusplus-b1d9a197c185ccc3b0f67ee55713f16cdebad461.zip
ivy-cplusplus-b1d9a197c185ccc3b0f67ee55713f16cdebad461.tar.gz
ivy-cplusplus-b1d9a197c185ccc3b0f67ee55713f16cdebad461.tar.bz2
ivy-cplusplus-b1d9a197c185ccc3b0f67ee55713f16cdebad461.tar.xz
Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 19)
Diffstat (limited to 'Ivy/Ivy.cxx')
-rw-r--r--Ivy/Ivy.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx
index e7505d1..7cd8dde 100644
--- a/Ivy/Ivy.cxx
+++ b/Ivy/Ivy.cxx
@@ -2,7 +2,7 @@
//
//////////////////////////////////////////////////////////////////////
-#include "stdafx.h"
+#include "IvyStdAfx.h"
#include "Ivy.h"
@@ -148,7 +148,7 @@ int Ivy::BindMsg( IvyMessageCallback *cb, const char *regexp, ... )
va_list args;
va_start( args, regexp ); /* Initialize variable arguments. */
- vsprintf( buffer, regexp, args );
+ _vsnprintf( buffer, sizeof(buffer), regexp, args );
va_end( args);
regexp_out.push_back( regexp );
@@ -243,7 +243,7 @@ int Ivy::SendMsg(const char * message, ... )
va_list args;
va_start( args, message ); /* Initialize variable arguments. */
- vsprintf( buffer, message, args );
+ _vsnprintf( buffer, sizeof(buffer), message, args );
va_end( args);
/* send to already connected */
IvyApplicationList::iterator iter;