rem: if (c == '\r' || c == '\n' || (int)c == EOF)
add: if (c == '\r')
context: soap_getline(struct soap *soap, char *s, int len){ int i = len;  wchar c = 0;  for (;;)  { while (--i > 0)    { c = soap_getchar(soap);      if (c == '\r' || c == '\n' || (int)c == EOF)        break;      *s++ = (char)c;    }    *s = '\0';    while (c != '\n' && (int)c != EOF)      c = soap_getchar(soap);    if ((int)c == EOF)      return SOAP_EOF;    if (i+1 == len) /* empty line: end of HTTP header */      break;    c = soap_unget(soap, soap_getchar(soap));    if (c != ' ' && c != '\t') /* HTTP line continuation? */      break;  }  return SOAP_OK;}