PATCH: Fic pop3 mailbox bug



Hi,

Pawel, the mods to my pop3 patch broke it for my system. Everytime I get new
mail, I get "Unable to reopen mailbox". The attached patch fixes it for my
system.

Melanie
diff -b -B -r -u -P --exclude-from=ignore ../balsa/libbalsa/mailbox_pop3.c ./libbalsa/mailbox_pop3.c
--- ../balsa/libbalsa/mailbox_pop3.c	Wed Sep  5 08:50:10 2001
+++ ./libbalsa/mailbox_pop3.c	Thu Sep  6 01:22:19 2001
@@ -304,11 +304,12 @@
 				 mailbox->name, 
 				 LIBBALSA_MAILBOX(m->inbox)->name,
 				 tmp_path);
+        libbalsa_mailbox_close(LIBBALSA_MAILBOX(tmp_mailbox));
 	}
     } else {
+    libbalsa_mailbox_close(LIBBALSA_MAILBOX(tmp_mailbox));
 	unlink((const char*)tmp_path);
     }
-    libbalsa_mailbox_close(LIBBALSA_MAILBOX(tmp_mailbox));
     gtk_object_destroy(GTK_OBJECT(tmp_mailbox));	
     g_free(tmp_path);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]