From 88fa4338d8f5831a6ebddc755907ef18a42dcf90 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:46:31 +0000 Subject: Utilisateur : Fcolin Date : 4/02/04 Heure : 13:25 Archivé dans $/EScribe/Ivy Commentaire: (vss 18) --- CSharp/Ivy/Ivy/IvyClient.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs index a21a5b7..9f8b4b7 100644 --- a/CSharp/Ivy/Ivy/IvyClient.cs +++ b/CSharp/Ivy/Ivy/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