2007-10-05 [colin] 3.0.2cvs15
authorColin Leroy <colin@colino.net>
Fri, 5 Oct 2007 17:00:24 +0000 (17:00 +0000)
committerColin Leroy <colin@colino.net>
Fri, 5 Oct 2007 17:00:24 +0000 (17:00 +0000)
* src/etpan/imap-thread.c
Fix wrong error codepath

ChangeLog
PATCHSETS
configure.ac
src/etpan/imap-thread.c

index e79a8d7155125cb268361befe74fc4e9eaa780ac..8b2bb41ad3c965ab79a0ebda8fc558661d2572ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-05 [colin]     3.0.2cvs15
+
+       * src/etpan/imap-thread.c
+               Fix wrong error codepath
+
 2007-10-05 [wwp]       3.0.2cvs14
 
        * src/filtering.c
index eb48e30b07c54dc355c168d66631afa340e65b81..6be3c280d4de0e66d5103ae0c1517db97787d37e 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.654.2.2980 -r 1.654.2.2981 configure.ac;  cvs diff -u -r 1.155.2.76 -r 1.155.2.77 src/Makefile.am;  ) > 3.0.2cvs12.patchset
 ( cvs diff -u -r 1.60.2.51 -r 1.60.2.52 src/prefs_actions.c;  cvs diff -u -r 1.59.2.58 -r 1.59.2.59 src/prefs_filtering.c;  cvs diff -u -r 1.12.2.48 -r 1.12.2.49 src/prefs_template.c;  ) > 3.0.2cvs13.patchset
 ( cvs diff -u -r 1.60.2.37 -r 1.60.2.38 src/filtering.c;  ) > 3.0.2cvs14.patchset
+( cvs diff -u -r 1.1.4.86 -r 1.1.4.87 src/etpan/imap-thread.c;  ) > 3.0.2cvs15.patchset
index 0957b21d0b4da251f3265d7c4fac83aece54671b..ea7ca9c51f37f0608f42da89573df6dc935db3e0 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=14
+EXTRA_VERSION=15
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index bafd2d1e91195f97aafeae7b453e6bedb7d94165..dd95a57f2dbf52687a62c72e872db2d46f4b725b 100644 (file)
@@ -2276,8 +2276,7 @@ static void fetch_content_run(struct etpan_thread_op * op)
                
                r = fclose(f);
                if (r == EOF) {
-                       g_unlink(param->filename);
-                       goto close;
+                       goto unlink;
                }
                goto free;