summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index 9f8b4b7..23c65bb 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/IvyClient.cs
@@ -381,7 +381,7 @@ namespace IvyBus
buffer += "\n";
try
{
- if ( out_stream )
+ if ( out_stream != null )
{
out_stream.Write(buffer);
out_stream.Flush();