rem: if (*r)
add: if (*r #ifndef WITH_NOIO #ifndef WITH_LEAN || soap_errno == SOAP_ERANGE #endif #endif )
context: soap_s2int(struct soap *soap, const char *s, int *p){ if (s)  { char *r;    *p = (int)soap_strtol(s, &r, 10);    if (*r)      soap->error = SOAP_TYPE;  }  return soap->error;}