src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 4 May 2018 05:31:55 +0000 (13:31 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 May 2018 05:31:55 +0000 (13:31 +0800)
src/strip.vala

index 087f578..123e5a7 100644 (file)
@@ -499,7 +499,7 @@ public class Strip : GLib.Object {
         var rep = new GMime.Part.with_type("text","html");
         // we have to set up a redirect server - to redirect hpasite... to their internal service..
         rep.set_filename(filename);
-        var txt = "<html><body>"+
+        string txt = "<html><body>"+
             "<a href=\"" + StripApplication.opt_replace_link + "/" +
                        file_id + "/" + this.create_dir + "/"+chksum+"/"+ GLib.Uri.escape_string( filename) +"\">" + 
             GLib.Uri.escape_string( filename) + // fixme needs html escaping...