From b74ac67b459b9cf66c353d80a1f33c821e8c07be Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:57:57 +0000 Subject: Utilisateur : Fcolin Date : 4/02/04 Heure : 13:25 Archivé dans $/EScribe/Ivy Commentaire: (vss 18) --- CSharp/Ivy/IvyPPC/IvyClient.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs index a21a5b7..9f8b4b7 100644 --- a/CSharp/Ivy/IvyPPC/IvyClient.cs +++ b/CSharp/Ivy/IvyPPC/IvyClient.cs @@ -381,8 +381,11 @@ namespace IvyBus buffer += "\n"; try { - out_stream.Write(buffer); - out_stream.Flush(); + if ( out_stream ) + { + out_stream.Write(buffer); + out_stream.Flush(); + } } catch (IOException e) { -- cgit v1.1