From 04df5de9a14b3005dbbe46265a17b28411cd8bef Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 15 Oct 2016 13:55:25 -0400 Subject: [PATCH] fix --- contrib/frontends/cpp/nntpchan-daemon/src/line.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/frontends/cpp/nntpchan-daemon/src/line.cpp b/contrib/frontends/cpp/nntpchan-daemon/src/line.cpp index 3682ccc..f637349 100644 --- a/contrib/frontends/cpp/nntpchan-daemon/src/line.cpp +++ b/contrib/frontends/cpp/nntpchan-daemon/src/line.cpp @@ -10,10 +10,10 @@ namespace nntpchan { while(l-- > 0) { char c = d[idx++]; if(c == '\n') { - OnLine(d, idx-2); + OnLine(d, idx-1); d += idx; } else if (c == '\r' && d[idx] == '\n') { - OnLine(d, idx-2); + OnLine(d, idx-1); d += idx + 1; } }