[banshee/1.5.1-fixes: 54/56] [daap] Fix issue with authenticating (bgo#487203)



commit d704b5a892d061a768b604c7eecb49ecd872e1af
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 ecb3ee1..1f349b4 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]