diff options
Diffstat (limited to 'src/gopher.c')
-rw-r--r-- | src/gopher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gopher.c b/src/gopher.c index ac5fe560..008a7743 100644 --- a/src/gopher.c +++ b/src/gopher.c | |||
@@ -103,10 +103,10 @@ static iBool convertSource_Gopher_(iGopher *d) { | |||
103 | for (;;) { | 103 | for (;;) { |
104 | /* Find the end of the line. */ | 104 | /* Find the end of the line. */ |
105 | iRangecc line = { body.start, body.start }; | 105 | iRangecc line = { body.start, body.start }; |
106 | while (line.end < body.end - 1 && !isCRLFLineTerminator_(line.end)) { | 106 | while (line.end < body.end - 1 && !isLineTerminator_(line.end)) { |
107 | line.end++; | 107 | line.end++; |
108 | } | 108 | } |
109 | if (line.end >= body.end - 1 || !isCRLFLineTerminator_(line.end)) { | 109 | if (line.end >= body.end - 1 || !isLineTerminator_(line.end)) { |
110 | /* Not a complete line. More may be coming later. */ | 110 | /* Not a complete line. More may be coming later. */ |
111 | break; | 111 | break; |
112 | } | 112 | } |