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

Commit b57fb786 authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am d0ef1ccd: Merge "rtsp handle response line ended with \'\n\'"

* commit 'd0ef1ccd':
  rtsp handle response line ended with '\n'
parents f2d744d9 d0ef1ccd
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);