rem: soap_closesock(soap); return soap->error = status;
add: soap->error = status; return soap_closesock(soap);
context: soap_send_fault(struct soap *soap){ register int status = soap->error;  if (status == SOAP_STOP)    return status;  DBGLOG(TEST,SOAP_MESSAGE(fdebug, "Sending back fault struct for error code %d\n", soap->error));  soap->keep_alive = 0; /* to terminate connection */  soap_set_fault(soap);  if ((status != SOAP_EOF || (!soap->recv_timeout && !soap->send_timeout)) && soap_poll(soap) == SOAP_OK)  { soap->error = SOAP_OK;    soap_serializeheader(soap);    soap_serializefault(soap);    soap_begin_count(soap);    if (soap->mode & SOAP_IO_LENGTH)    { soap_envelope_begin_out(soap);      soap_putheader(soap);      soap_body_begin_out(soap);      soap_putfault(soap);      soap_body_end_out(soap);      soap_envelope_end_out(soap);    }    if (soap_response(soap, status)     || soap_envelope_begin_out(soap)     || soap_putheader(soap)     || soap_body_begin_out(soap)     || soap_putfault(soap)     || soap_body_end_out(soap)     || soap_envelope_end_out(soap))      return soap_closesock(soap);    soap_end_send(soap);  }  soap_closesock(soap);  return soap->error = status;}