Fix resume/not resume issue for Gopher cache
authorNiki Roo <niki@nikiroo.be>
Tue, 8 Aug 2017 07:34:22 +0000 (09:34 +0200)
committerNiki Roo <niki@nikiroo.be>
Tue, 8 Aug 2017 07:34:22 +0000 (09:34 +0200)
src/be/nikiroo/gofetch/output/Gopher.java

index dc5ac80886bb60cbe5067ce4268d478c1ed5d5f2..478522b53a5ac24d8fbec9ff0ebfdca0d4f3ecef 100644 (file)
@@ -36,14 +36,14 @@ public class Gopher extends Output {
 
        @Override
        public String exportHeader(Story story) {
-               return append(new StringBuilder(), story, false).append("i\r\ni\r\n")
+               return append(new StringBuilder(), story, true).append("i\r\ni\r\n")
                                .toString();
        }
 
        @Override
        public String export(Story story) {
                StringBuilder builder = new StringBuilder();
-               append(builder, story, true);
+               append(builder, story, false);
 
                builder.append("i\r\n");