From: Niki Roo Date: Tue, 8 Aug 2017 17:41:23 +0000 (+0200) Subject: ... X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=dd8ad646a8461d33a5ced5da1162cacad88e34b3;p=gofetch.git ... --- diff --git a/src/be/nikiroo/gofetch/Fetcher.java b/src/be/nikiroo/gofetch/Fetcher.java index b24d3d1..7490037 100644 --- a/src/be/nikiroo/gofetch/Fetcher.java +++ b/src/be/nikiroo/gofetch/Fetcher.java @@ -229,8 +229,8 @@ public class Fetcher { private String getLink(String name, String ref, boolean index, boolean html) { if (!html) { - return new StringBuilder().append((index ? "1" : "0") + name) - .append("\t").append("1" + ref) // + return new StringBuilder().append("1" + name).append("\t") + .append((index ? "1" : "0") + ref) // .append("\t").append(hostname) // .append("\t").append(Integer.toString(port)) // .append("\r\n").toString();