File bgo-310433-eds-deny-rename-stdfolders.diff of Package evolution-data-server-2.6
Index: servers/exchange/storage/exchange-hierarchy-webdav.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/exchange/storage/exchange-hierarchy-webdav.c,v
retrieving revision 1.11
diff -u -p -r1.11 exchange-hierarchy-webdav.c
--- servers/exchange/storage/exchange-hierarchy-webdav.c 25 Feb 2006 06:09:14 -0000 1.11
+++ servers/exchange/storage/exchange-hierarchy-webdav.c 6 Apr 2006 13:50:35 -0000
@@ -421,7 +421,7 @@ xfer_folder (ExchangeHierarchy *hier, EF
* update folder size in case of rename.
*/
- source_folder_name = strrchr (physical_uri + 1, '/');
+ source_folder_name = strrchr (physical_uri, '/') + 1;
source_parent = g_strndup (physical_uri,
source_folder_name - physical_uri);
if (!strcmp (e_folder_get_physical_uri (dest_parent), source_parent)) {