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

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

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

* commit 'b57fb786':
  rtsp handle response line ended with '\n'
parents b08ab81b b57fb786
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -571,6 +571,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);