summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyClient.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:57:57 +0000
committerfcolin2007-02-01 09:57:57 +0000
commitb74ac67b459b9cf66c353d80a1f33c821e8c07be (patch)
treeedee4cfc8b975f922cbd0c989ab3c3239f652781 /CSharp/Ivy/IvyPPC/IvyClient.cs
parentc678511bf4bd3a3fbb6b015153cb09770a470f99 (diff)
downloadivy-csharp-b74ac67b459b9cf66c353d80a1f33c821e8c07be.zip
ivy-csharp-b74ac67b459b9cf66c353d80a1f33c821e8c07be.tar.gz
ivy-csharp-b74ac67b459b9cf66c353d80a1f33c821e8c07be.tar.bz2
ivy-csharp-b74ac67b459b9cf66c353d80a1f33c821e8c07be.tar.xz
Utilisateur : Fcolin Date : 4/02/04 Heure : 13:25 Archivé dans $/EScribe/Ivy Commentaire: (vss 18)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs7
1 files changed, 5 insertions, 2 deletions
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)
{