Displaying 1 result from an estimated 1 matches for "new_listname".
2007 Oct 01
1
potential maildir folder rename bug
...0
+++ b/src/lib-storage/index/maildir/maildir-storage.c	Mon Oct 01 20:13:27 2007 +0100
@@ -937,6 +937,10 @@ static int rename_subfolders(struct inde
 		t_push();
 
 		old_listname = t_strconcat(oldname, names[i], NULL);
+		if (strcmp(old_listname, newname) == 0) {
+			t_pop();
+			continue;
+		}
 		new_listname = t_strconcat(newname, names[i], NULL);
 		oldpath = maildir_get_path(storage, old_listname);
 		newpath = maildir_get_path(storage, new_listname);