Author: jwilcox
Date: 2006-03-12 18:12:13 -0500 (Sun, 12 Mar 2006)
New Revision: 57883

Modified:
   trunk/daap-sharp/ChangeLog
   trunk/daap-sharp/sample/Mirror.cs
   trunk/daap-sharp/src/Database.cs
Log:
2006-03-12  James Willcox  <[EMAIL PROTECTED]>

        * src/Database.cs: fix DownloadSong()
        * sample/Mirror.cs: call ServiceLocator.Start (oops)



Modified: trunk/daap-sharp/ChangeLog
===================================================================
--- trunk/daap-sharp/ChangeLog  2006-03-12 21:04:08 UTC (rev 57882)
+++ trunk/daap-sharp/ChangeLog  2006-03-12 23:12:13 UTC (rev 57883)
@@ -1,5 +1,10 @@
 2006-03-12  James Willcox  <[EMAIL PROTECTED]>
 
+       * src/Database.cs: fix DownloadSong()
+       * sample/Mirror.cs: call ServiceLocator.Start (oops)
+
+2006-03-12  James Willcox  <[EMAIL PROTECTED]>
+
        * src/Server.cs: support range requests for seeking, and limit the
        number of database revisions kept for creating deltas.
        * src/Client.cs: support seeking (range requests)

Modified: trunk/daap-sharp/sample/Mirror.cs
===================================================================
--- trunk/daap-sharp/sample/Mirror.cs   2006-03-12 21:04:08 UTC (rev 57882)
+++ trunk/daap-sharp/sample/Mirror.cs   2006-03-12 23:12:13 UTC (rev 57883)
@@ -41,6 +41,7 @@
             server.Start ();
 
             ServiceLocator locator = new ServiceLocator ();
+            locator.Start ();
             locator.Found += OnServiceFound;
             locator.Removed += OnServiceRemoved;
 

Modified: trunk/daap-sharp/src/Database.cs
===================================================================
--- trunk/daap-sharp/src/Database.cs    2006-03-12 21:04:08 UTC (rev 57882)
+++ trunk/daap-sharp/src/Database.cs    2006-03-12 23:12:13 UTC (rev 57883)
@@ -378,7 +378,6 @@
 
         public void DownloadSong (Song song, string dest) {
 
-            HttpWebResponse response = FetchSong (song);
             BinaryWriter writer = new BinaryWriter (File.Open (dest, 
FileMode.Create));
 
             try {
@@ -394,7 +393,6 @@
                 }
             } finally {
                 writer.Close ();
-                response.Close ();
             }
         }
 

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

Reply via email to