REVEEEEERT!
authorNiki Roo <niki@nikiroo.be>
Tue, 8 Aug 2017 17:40:39 +0000 (19:40 +0200)
committerNiki Roo <niki@nikiroo.be>
Tue, 8 Aug 2017 17:40:39 +0000 (19:40 +0200)
src/be/nikiroo/gofetch/Fetcher.java

index 15c56af748f5c9b4d5ff6adb1c4474de94f2e30e..b24d3d11ecadbefee0cc697b5ac29ccbf7b8fd72 100644 (file)
@@ -229,7 +229,7 @@ public class Fetcher {
 
        private String getLink(String name, String ref, boolean index, boolean html) {
                if (!html) {
-                       return new StringBuilder().append((index ? "0" : "1") + name)
+                       return new StringBuilder().append((index ? "1" : "0") + name)
                                        .append("\t").append("1" + ref) //
                                        .append("\t").append(hostname) //
                                        .append("\t").append(Integer.toString(port)) //