diff src/gtk/transfer.c @ 778:cf2a51deefd8

2006-7-19 Brian Masney <masneyb@gftp.org> * src/gtk/transfer.c (check_done_process) - make sure the temporary files are removed in all cases (from Madhan Raj <raj_madan@rediffmail.com>) (closes #171459)
author masneyb
date Thu, 20 Jul 2006 02:41:26 +0000
parents eeb471438232
children 19aaa1571cc8
line wrap: on
line diff
--- a/src/gtk/transfer.c	Thu Jul 20 02:37:45 2006 +0000
+++ b/src/gtk/transfer.c	Thu Jul 20 02:41:26 2006 +0000
@@ -395,6 +395,11 @@
 		      continue;
 		    }
 		}
+	      else if (ve_proc->view && ve_proc->rm)
+	        {
+		  /* After viewing the file delete the tmp file */
+		  remove_file (ve_proc);
+		}
 
               free_edit_data (ve_proc);
 	      continue;