Fix little SIP header continuation issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-18 04:26:22 +00:00
parent a71e44bbdc
commit 1632d45e85

View File

@@ -2521,7 +2521,7 @@ static int lws2sws(char *msgbuf, int len)
if (h + 1 == len)
break;
/* Check for a continuation line */
if (msgbuf[h + 1] == ' ') {
if (msgbuf[h + 1] == ' ' || msgbuf[h + 1] == '\t') {
/* Merge continuation line */
h++;
continue;
@@ -2531,7 +2531,6 @@ static int lws2sws(char *msgbuf, int len)
lws = 0;
continue;
}
if (msgbuf[h] == ' ' || msgbuf[h] == '\t') {
if (lws) {
h++;