summaryrefslogtreecommitdiff
path: root/Bus/Ivy/IvyWatcher.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:56 +0000
committerfcolin2007-02-01 13:03:56 +0000
commit8bb80d980b54ecaad881d2584c1f84231e55cb56 (patch)
treea5bce7a7b7a83679b29706b0388f6bfbbac16f31 /Bus/Ivy/IvyWatcher.cxx
parent19316503220ef8dbfeb60a139c25871366c55c3c (diff)
downloadivy-cplusplus-8bb80d980b54ecaad881d2584c1f84231e55cb56.zip
ivy-cplusplus-8bb80d980b54ecaad881d2584c1f84231e55cb56.tar.gz
ivy-cplusplus-8bb80d980b54ecaad881d2584c1f84231e55cb56.tar.bz2
ivy-cplusplus-8bb80d980b54ecaad881d2584c1f84231e55cb56.tar.xz
Utilisateur : Fcolin Date : 1/06/05 Heure : 16:45 Archivé dans $/Bus/Ivy Commentaire: (vss 10)
Diffstat (limited to 'Bus/Ivy/IvyWatcher.cxx')
-rw-r--r--Bus/Ivy/IvyWatcher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bus/Ivy/IvyWatcher.cxx b/Bus/Ivy/IvyWatcher.cxx
index 8df0ac4..af19fe5 100644
--- a/Bus/Ivy/IvyWatcher.cxx
+++ b/Bus/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() )