projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ab5acd
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 7 Aug 2018 08:33:28 +0000
(16:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 7 Aug 2018 08:33:28 +0000
(16:33 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
10ee034
..
a30e35e
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-556,6
+556,9
@@
public class Strip : GLib.Object {
"/"+ this.active_name + "."+ GLib.Uri.escape_string(filename,"", false);
var outfile = new GMime.StreamFile.for_path(fn, "w");
+ if (outfile == null) {
+ return; // something has gone wrong??
+ }
outfile.set_owner(true);
var file_size = (int) c.write_to_stream(outfile);
var chksum = this.md5_file(fn);