[banshee] [daap] Fix issue with authenticating (bgo#487203)



commit c87263c2b2f0364f31a444b51a7b89cbcba897ec
Author: Félix Velasco <felix velasco gmail com>
Date:   Mon Jan 25 16:41:05 2010 -0800

    [daap] Fix issue with authenticating (bgo#487203)
    
    Signed-off-by: Gabriel Burt <gabriel burt gmail com>

 src/Extensions/Banshee.Daap/Daap/Client.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/Extensions/Banshee.Daap/Daap/Client.cs b/src/Extensions/Banshee.Daap/Daap/Client.cs
index 6324c48..bd3f32f 100644
--- a/src/Extensions/Banshee.Daap/Daap/Client.cs
+++ b/src/Extensions/Banshee.Daap/Daap/Client.cs
@@ -87,8 +87,6 @@ namespace Daap {
             this.port = port;
             fetcher = new ContentFetcher (address, port);
 
-            bag = ContentCodeBag.ParseCodes (fetcher.Fetch ("/content-codes"));
-
             ContentNode node = ContentParser.Parse (ContentCodeBag.Default, fetcher.Fetch ("/server-info"));
             serverInfo = ServerInfo.FromNode (node);
         }
@@ -123,6 +121,7 @@ namespace Daap {
             fetcher.Password = password;
 
             try {
+                bag = ContentCodeBag.ParseCodes (fetcher.Fetch ("/content-codes"));
                 ContentNode node = ContentParser.Parse (bag, fetcher.Fetch ("/login"));
                 ParseSessionId (node);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]