repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: e503fac98eae353160e4c367106ff7a14ce251be:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit e503fac98eae353160e4c367106ff7a14ce251be
Author: Robin Redeker 
Date:   Tue Jan 17 17:04:18 2006 +0000

    fixed a bug, the textfile is now deleted after upload.

diff --git a/src/perl/selection-pastebin b/src/perl/selection-pastebin
index bfdeb8ae0efa08ef875236d7d7bf89db4e3f6e0b..
index ..64f4a3193a39417dd12b8bc387cc9718d2efd1cb 100644
--- a/src/perl/selection-pastebin
+++ b/src/perl/selection-pastebin
@@ -48,6 +48,8 @@ sub upload_paste {
       $msg = "couldn't upload, '$cmd' failed";
    }

+   unlink $tmpfile;
+
    my $ov = $timers->{ov} = $self->overlay (-1, 0, length ($msg), 1, urxvt::OVERLAY_RSTYLE, 0);
    $ov->set (0, 0, $msg);

-----END OF PAGE-----