Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: btimothy <btimothy@no...> - 2006-06-07 13:47:47
|
Author: btimothy Date: 2006-06-07 13:47:46 -0600 (Wed, 07 Jun 2006) New Revision: 6522 Modified: trunk/simias/src/core/Domain/WSInspection.cs Log: Partial fix for Bug 156874 - Linux client doesn't support connecting to servers with non-default ports. Found a case where response.Close() was being called when response is null so I added a check for null to prevent an exception. Modified: trunk/simias/src/core/Domain/WSInspection.cs =================================================================== --- trunk/simias/src/core/Domain/WSInspection.cs 2006-06-07 17:42:46 UTC (rev 6521) +++ trunk/simias/src/core/Domain/WSInspection.cs 2006-06-07 19:47:46 UTC (rev 6522) @@ -219,7 +219,10 @@ } finally { - response.Close (); + if (response != null) + { + response.Close (); + } } } |