Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0ef1ccd authored by Andreas Huber's avatar Andreas Huber Committed by Gerrit Code Review
Browse files

Merge "rtsp handle response line ended with '\n'"

parents 1bb59258 3e3af91f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -565,6 +565,9 @@ bool ARTSPConnection::receiveLine(AString *line) {
        if (sawCR && c == '\n') {
            line->erase(line->size() - 1, 1);
            return true;
        } else if (c == '\n') {
            // some reponse line ended with '\n', instead of '\r\n'.
            return true;
        }

        line->append(&c, 1);