Author: jwilcox
Date: 2006-01-09 12:25:44 -0500 (Mon, 09 Jan 2006)
New Revision: 55245

Modified:
   trunk/daap-sharp/src/ServiceLocator.cs
Log:
actually use the ShowLocalServices flag


Modified: trunk/daap-sharp/src/ServiceLocator.cs
===================================================================
--- trunk/daap-sharp/src/ServiceLocator.cs      2006-01-09 17:24:10 UTC (rev 
55244)
+++ trunk/daap-sharp/src/ServiceLocator.cs      2006-01-09 17:25:44 UTC (rev 
55245)
@@ -119,7 +119,7 @@
         }
 
         private void OnServiceAdded (object o, ServiceInfoArgs args) {
-            if ((args.Service.Flags & LookupResultFlags.Local) > 0)
+            if ((args.Service.Flags & LookupResultFlags.Local) > 0 && 
!showLocals)
                 return;
             
             ServiceResolver resolver = new ServiceResolver (client, 
args.Service);

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

Reply via email to