summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gopher.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gopher.c b/src/gopher.c
index 7099d5bc..708b2ee8 100644
--- a/src/gopher.c
+++ b/src/gopher.c
@@ -78,6 +78,7 @@ static iBool convertSource_Gopher_(iGopher *d) {
78 } 78 }
79 if (line.end >= body.end - 1 || !isLineTerminator_(line.end)) { 79 if (line.end >= body.end - 1 || !isLineTerminator_(line.end)) {
80 /* Not a complete line. */ 80 /* Not a complete line. */
81 printf("[Gopher] unterminated: {%s}\n", cstr_Rangecc(line));
81 break; 82 break;
82 } 83 }
83 body.start = line.end + 2; 84 body.start = line.end + 2;
@@ -139,6 +140,9 @@ static iBool convertSource_Gopher_(iGopher *d) {
139 } 140 }
140 delete_String(buf); 141 delete_String(buf);
141 } 142 }
143 else {
144 printf("[Gopher] unrecognized: {%s}\n", cstr_Rangecc(line));
145 }
142 } 146 }
143 iRelease(pattern); 147 iRelease(pattern);
144 remove_Block(&d->source, 0, body.start - constBegin_Block(&d->source)); 148 remove_Block(&d->source, 0, body.start - constBegin_Block(&d->source));