rem: else if ((soap->error = soap->fposthdr(soap, "Status", s))) return soap->error;
add: else if ((err = soap->fposthdr(soap, "Status", s))) return err;
context: http_response(struct soap *soap, int status, size_t count){/* WR[ */#ifdef WMW_RPM_IO  if (soap->rpmreqid)      {      httpOutputEnable(soap->rpmreqid);      }#endif  /* WMW_RPM_IO *//* ]WR */  if (!status || status == SOAP_HTML || status == SOAP_FILE)  { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "OK 200\n"));/* WR[ */#ifdef WMW_RPM_IO    if (soap->rpmreqid || soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* RPM behaves as if standalone */#else/* ]WR */    if (soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* standalone application *//* WR[ */#endif /* WMW_RPM_IO *//* ]WR */    { sprintf(soap->tmpbuf, "HTTP/%s 200 OK", soap->http_version);      if ((soap->error = soap->fposthdr(soap, soap->tmpbuf, NULL)))        return soap->error;    }    else if ((soap->error = soap->fposthdr(soap, "Status", "200 OK")))      return soap->error;  }  else if (status > 200 && status < 600)  { sprintf(soap->tmpbuf, "HTTP/%s %d %s", soap->http_version, status, http_error(soap, status));    if ((soap->error = soap->fposthdr(soap, soap->tmpbuf, NULL)))      return soap->error;    if (status == 401)      if ((soap->error = soap->fposthdr(soap, "WWW-Authenticate", "Basic realm=\"gSOAP Service\"")))        return soap->error;  }  else  { const char *s = *soap_faultcode(soap);    DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Error\n"));    if (soap->version == 2 && !strcmp(s, "SOAP-ENV:Sender"))      s = "400 Bad Request";    else      s = "500 Internal Server Error";/* WR[ */#ifdef WMW_RPM_IO    if (soap->rpmreqid || soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* RPM behaves as if standalone */#else/* ]WR */    if (soap_valid_socket(soap->master) || soap_valid_socket(soap->socket)) /* standalone application *//* WR[ */#endif /* WMW_RPM_IO *//* ]WR */    { sprintf(soap->tmpbuf, "HTTP/%s %s", soap->http_version, s);      if ((soap->error = soap->fposthdr(soap, soap->tmpbuf, NULL)))        return soap->error;    }    else if ((soap->error = soap->fposthdr(soap, "Status", s)))      return soap->error;  }  if ((soap->error = soap->fposthdr(soap, "Server", "gSOAP/2.6"))   || (soap->error = soap_puthttphdr(soap, status, count)))    return soap->error;#ifdef WITH_COOKIES  if (soap_putsetcookies(soap))    return soap->error;#endif  return soap->error = soap->fposthdr(soap, NULL, NULL);}