Author: alanmc
Date: 2007-04-21 10:06:38 -0400 (Sat, 21 Apr 2007)
New Revision: 76041

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/Tracker.cs
Log:
Default the messages to String.Empty, not null.

Modified: trunk/bitsharp/src/MonoTorrent.Client/Tracker.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Tracker.cs    2007-04-21 13:20:52 UTC 
(rev 76040)
+++ trunk/bitsharp/src/MonoTorrent.Client/Tracker.cs    2007-04-21 14:06:38 UTC 
(rev 76041)
@@ -208,6 +208,8 @@
             this.scrapeCallback = scrapeCallback;
             int indexOfAnnounce = announceUrl.LastIndexOf('/') + 1;
             this.engineSettings = engineSettings;
+            this.warningMessage = string.Empty;
+            this.failureMessage = string.Empty;
 
             if ((indexOfAnnounce + 8) <= announceUrl.Length && 
announceUrl.Substring(indexOfAnnounce, 8) == "announce")
             {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to