src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 27 Apr 2018 08:47:57 +0000 (16:47 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 Apr 2018 08:47:57 +0000 (16:47 +0800)
src/strip.vala

index 8abc99e..22bb588 100644 (file)
@@ -589,7 +589,7 @@ public class Strip : GLib.Object {
                ((GMime.StreamFile)outstream).set_owner(false);
         }
                if (StripApplication.opt_dump) {
-                       print("%s", (string) outstream.get_byte_array().data);
+                       print("%s", (string) ((GMime.StreamMem)outstream).get_byte_array().data);
                }        
         message = null;
         outstream.flush();