[gupnp] Network traffic optimization



commit 3f69b8ce5440b891e1d978dbd6c0c34eac2e7b6d
Author: Ludovic Ferrandis <ludovic ferrandis intel com>
Date:   Wed Aug 28 17:14:29 2013 +0200

    Network traffic optimization
    
    Remove an unnecessary call to gssdp_resource_browser_rescan
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706996

 libgupnp/gupnp-context-manager.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index 21ce53b..f776838 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -193,9 +193,6 @@ gupnp_context_manager_filter_context (GUPnPWhiteList *white_list,
                 browser = GSSDP_RESOURCE_BROWSER (obj->data);
                 gssdp_resource_browser_set_active (browser, match);
 
-                if (match)
-                        (void) gssdp_resource_browser_rescan (browser);
-
                 obj = obj->next;
         }
 


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