summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:56 +0000
committerfcolin2007-02-01 13:03:56 +0000
commitefde241a613f12c035898c99eb7595a97f8fe06d (patch)
tree77c8fb40ca0366a790e5cddcb84f1dab0453b1c8 /Ivy
parent84c5a1c5084da8841b3de03cd07db6ceb7cbbdf8 (diff)
downloadivy-cplusplus-efde241a613f12c035898c99eb7595a97f8fe06d.zip
ivy-cplusplus-efde241a613f12c035898c99eb7595a97f8fe06d.tar.gz
ivy-cplusplus-efde241a613f12c035898c99eb7595a97f8fe06d.tar.bz2
ivy-cplusplus-efde241a613f12c035898c99eb7595a97f8fe06d.tar.xz
Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 10)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvyWatcher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ivy/IvyWatcher.cxx b/Ivy/IvyWatcher.cxx
index 8df0ac4..af19fe5 100644
--- a/Ivy/IvyWatcher.cxx
+++ b/Ivy/IvyWatcher.cxx
@@ -1,7 +1,7 @@
// IvyWatcher.cpp : implementation file
//
-#include "stdafx.h"
+#include "IvyStdAfx.h"
#include "IvyWatcher.h"
@@ -97,7 +97,7 @@ void IvyWatcher::start(const char *domainlist)
string addr;
char hello[1024];
- int len = sprintf( hello, "%d %u\n", VERSION, bus->GetApplicationPort() );
+ int len = _snprintf( hello, sizeof(hello), "%d %u\n", VERSION, bus->GetApplicationPort() );
// send broadcast to domain list
while ( !domain.empty() )