fixing the construction of ACK and CANCEL: the requests may end with
authorMiklos Tirpak <miklos@iptel.org>
Tue, 12 Feb 2008 16:17:58 +0000 (16:17 +0000)
committerMiklos Tirpak <miklos@iptel.org>
Tue, 12 Feb 2008 16:17:58 +0000 (16:17 +0000)
CRLF CR CRLF by mistake (patch from Bogdan Pintea)

modules/tm/lw_parser.c

index c37f732..8756db6 100644 (file)
@@ -249,7 +249,6 @@ char *lw_next_line(char *buf, char *buf_end)
        do {
                while ((c < buf_end) && (*c != '\n')) c++;
                if (c < buf_end) c++;
-               if ((c < buf_end) && (*c == '\r')) c++;
 
        } while ((c < buf_end) &&
                ((*c == ' ') || (*c == '\t'))); /* next line begins with whitespace line folding */