diff options
author | fcolin | 2007-02-01 12:56:14 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:56:14 +0000 |
commit | 64db94974ea1f5fff29275419b25ccf5627c1dfc (patch) | |
tree | ea63b905fab88b5c5cadb6392bd11a1c7857fb12 /Bus/Ivy | |
parent | 4d92a221085b1c37564a93a82a099f8d0fb274f1 (diff) | |
download | ivy-cplusplus-64db94974ea1f5fff29275419b25ccf5627c1dfc.zip ivy-cplusplus-64db94974ea1f5fff29275419b25ccf5627c1dfc.tar.gz ivy-cplusplus-64db94974ea1f5fff29275419b25ccf5627c1dfc.tar.bz2 ivy-cplusplus-64db94974ea1f5fff29275419b25ccf5627c1dfc.tar.xz |
Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 19)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r-- | Bus/Ivy/Ivy.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bus/Ivy/Ivy.cxx b/Bus/Ivy/Ivy.cxx index e7505d1..7cd8dde 100644 --- a/Bus/Ivy/Ivy.cxx +++ b/Bus/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;
|