* cosmetics
This commit is contained in:
@ -861,8 +861,8 @@ msg_move (const char* src, const char *dst, GError **err)
|
||||
|
||||
gchar*
|
||||
mu_maildir_move_message (const char* oldpath, const char* targetmdir,
|
||||
MuFlags newflags, gboolean ignore_dups, gboolean new_name,
|
||||
GError **err)
|
||||
MuFlags newflags, gboolean ignore_dups,
|
||||
gboolean new_name, GError **err)
|
||||
{
|
||||
char *newfullpath;
|
||||
gboolean rv;
|
||||
|
||||
@ -193,7 +193,8 @@ char* mu_maildir_get_maildir_from_path (const char* path);
|
||||
* of the message are affected; note that this may still involve a
|
||||
* moved to another directory (say, from new/ to cur/)
|
||||
* @param flags to set for the target (influences the filename, path)
|
||||
* @param ignore_dups whether to silent ignore the src=target case (and return TRUE)
|
||||
* @param ignore_dups whether to silent ignore the src=target case
|
||||
* (and return TRUE)
|
||||
* @param new_name whether to create a new unique name, or keep the
|
||||
* old one
|
||||
* @param err receives error information
|
||||
|
||||
@ -855,8 +855,8 @@ get_target_mdir (MuMsg *msg, const char *target_maildir, GError **err)
|
||||
*/
|
||||
gboolean
|
||||
mu_msg_move_to_maildir (MuMsg *self, const char *maildir,
|
||||
MuFlags flags, gboolean ignore_dups, gboolean new_name,
|
||||
GError **err)
|
||||
MuFlags flags, gboolean ignore_dups,
|
||||
gboolean new_name, GError **err)
|
||||
{
|
||||
char *newfullpath;
|
||||
char *targetmdir;
|
||||
@ -872,9 +872,8 @@ mu_msg_move_to_maildir (MuMsg *self, const char *maildir,
|
||||
|
||||
newfullpath = mu_maildir_move_message (mu_msg_get_path (self),
|
||||
targetmdir, flags,
|
||||
ignore_dups, new_name, err);
|
||||
/* update the message path and the flags; they may have
|
||||
* changed */
|
||||
ignore_dups, new_name,
|
||||
err);
|
||||
if (!newfullpath) {
|
||||
g_free (targetmdir);
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user