summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:04:04 +0000
committerfcolin2007-02-01 13:04:04 +0000
commit9958a0d437ff67e28d6034066fc99435c2fec33f (patch)
treef5d88642236ac47f6932d11f7138b613e188d559 /Bus/Ivy
parenteacb81224aada43fed520ba5d6bc76072aed813b (diff)
downloadivy-cplusplus-9958a0d437ff67e28d6034066fc99435c2fec33f.zip
ivy-cplusplus-9958a0d437ff67e28d6034066fc99435c2fec33f.tar.gz
ivy-cplusplus-9958a0d437ff67e28d6034066fc99435c2fec33f.tar.bz2
ivy-cplusplus-9958a0d437ff67e28d6034066fc99435c2fec33f.tar.xz
Utilisateur : Fcolin Date : 19/04/06 Heure : 15:07 Archivé dans $/Bus/Ivy Commentaire: (vss 14)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r--Bus/Ivy/IvyWatcher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bus/Ivy/IvyWatcher.cxx b/Bus/Ivy/IvyWatcher.cxx
index d9f8cf8..e2a2783 100644
--- a/Bus/Ivy/IvyWatcher.cxx
+++ b/Bus/Ivy/IvyWatcher.cxx
@@ -42,7 +42,7 @@ void IvyWatcher::OnReceive(int nErrorCode)
TRACE("Receive Broadcast error %d\n",this->GetLastError());
return;
}
- buffer[err] ='\0';
+ if ( err < 255 ) buffer[err] ='\0';
err = sscanf_s(buffer,"%d %u",&version, &serviceport);
if ( err != 2 )
{