r6904 - dumbhippo/trunk/client/common/ddm



Author: otaylor
Date: 2007-11-13 16:11:12 -0600 (Tue, 13 Nov 2007)
New Revision: 6904

Modified:
   dumbhippo/trunk/client/common/ddm/ddm-data-fetch.c
Log:
Don't always include default properties in every fetch, even those without 
 the default fetch specified.


Modified: dumbhippo/trunk/client/common/ddm/ddm-data-fetch.c
===================================================================
--- dumbhippo/trunk/client/common/ddm/ddm-data-fetch.c	2007-11-13 21:55:09 UTC (rev 6903)
+++ dumbhippo/trunk/client/common/ddm/ddm-data-fetch.c	2007-11-13 22:11:12 UTC (rev 6904)
@@ -664,7 +664,10 @@
     iter->fetch = fetch;
     iter->resource = resource;
     iter->property_index = -1;
-    iter->default_properties = _ddm_data_resource_get_default_properties(resource);
+    if (fetch->include_default)
+        iter->default_properties = _ddm_data_resource_get_default_properties(resource);
+    else
+        iter->default_properties = NULL;
     iter->next_property = NULL;
 
     ddm_data_fetch_iter_advance(iter);



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