rem: while ((int)c != EOF && c != '\r'); if ((int)c == EOF) return soap->error = SOAP_EOF; if (soap_getchar(soap) != '\n')
add: while ((int)c != EOF && c != '\r' && c != '\n'); if ((int)c != '\r' || soap_getchar(soap) != '\n')
context: soap_getmime(struct soap *soap){ register soap_wchar c;  if (!soap->mime.last)    return SOAP_OK;  for (;;)  { register size_t i, m = 0;    register char *s, *t = NULL;    struct soap_multipart *content = soap->mime.last;    DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Parsing MIME content id=%s type=%s\n", content->id?content->id:"", content->type?content->type:""));    if (soap_new_block(soap))      return soap->error = SOAP_EOM;    for (;;)    { if (!(s = (char*)soap_push_block(soap, SOAP_BLKLEN)))        return soap->error = SOAP_EOM;      for (i = 0; i < SOAP_BLKLEN; i++)      { if (m > 0)        { *s++ = *t++;	  m--;	}	else        { c = soap_get1(soap);	  if ((int)c == EOF)	    return soap->error = SOAP_EOF;	  if (c == '\r')	  { t = soap->tmpbuf;	    memset(t, 0, sizeof(soap->tmpbuf));            strcpy(t, "\n--");            if (soap->mime.boundary)	      strncat(t, soap->mime.boundary, sizeof(soap->tmpbuf)-4);	    do c = soap_getchar(soap);	    while (c == *t++);	    if ((int)c == EOF)	      return soap->error = SOAP_EOF;	    if (!*--t)	      goto end;	    *t = (char)c;	    m = t - soap->tmpbuf + 1;	    t = soap->tmpbuf;	    c = '\r';	  }	  *s++ = (char)c;        }      }    }end:    *s = '\0'; /* force 0-terminated */    content->size = soap_size_block(soap, i+1)-1;    content->ptr = soap_save_block(soap, NULL, 0);    if (c == '-' && soap_getchar(soap) == '-')      break;    while (c != '\r' && (int)c != EOF && soap_blank(c))      c = soap_getchar(soap);    if (c != '\r' || soap_getchar(soap) != '\n')      return soap->error = SOAP_MIME_ERROR;    if (soap_getmimehdr(soap))      return soap->error;  }  do c = soap_getchar(soap);  while ((int)c != EOF && c != '\r');  if ((int)c == EOF)    return soap->error = SOAP_EOF;  if (soap_getchar(soap) != '\n')    return soap->error = SOAP_MIME_ERROR;  return SOAP_OK;}