Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jberkman
evolution-data-server-2.6
eds-incomplete_tasks-clint.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eds-incomplete_tasks-clint.diff of Package evolution-data-server-2.6
Index: servers/exchange/lib/e2k-context.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/servers/exchange/lib/e2k-context.c,v retrieving revision 1.8 diff -u -p -r1.8 e2k-context.c --- servers/exchange/lib/e2k-context.c 24 Jul 2006 13:32:17 -0000 1.8 +++ servers/exchange/lib/e2k-context.c 21 Sep 2006 08:48:53 -0000 @@ -1241,19 +1241,23 @@ write_prop (GString *xml, const char *pr GPtrArray *array; int i; - if (value == NULL) + if (set && (value == NULL)) return; + namespace = e2k_prop_namespace_name (propertyname); abbrev = e2k_prop_namespace_abbrev (propertyname); name = e2k_prop_property_name (propertyname); - need_type = (strstr (namespace, "/mapi/id/") != NULL); - g_string_append_printf (xml, "<%c:%s", abbrev, name); if (!set) { + /* This means we are removing the property, so just return + with ending tag */ g_string_append (xml, "/>"); return; - } else if (!need_type) + } + + need_type = (strstr (namespace, "/mapi/id/") != NULL); + if (!need_type) g_string_append_c (xml, '>'); switch (type) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor