=== modified file 'calendar/backends/groupwise/e-cal-backend-groupwise-utils.c' --- calendar/backends/groupwise/e-cal-backend-groupwise-utils.c 2007-12-18 16:36:30 +0000 +++ calendar/backends/groupwise/e-cal-backend-groupwise-utils.c 2007-12-18 16:41:31 +0000 @@ -300,9 +300,10 @@ /* FIXME the member does not follow the naming convention. * Should be fixed in e-gw-item*/ attach_item->contentType = g_strdup (gnome_vfs_get_mime_type (attach_filename_full)); + + attach_item->name = g_strdup (filename + strlen(uid) + 1); g_free (attach_filename_full); - attach_item->name = g_strdup (filename + strlen(uid) + 1); /* do a base64 encoding so it can be embedded in a soap * message */ encoded_data = g_base64_encode (file_contents, file_len);