subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: [PATCH] Augment the awful "200 OK" error message when can't connect to repository
Date Mon, 11 Jan 2010 10:29:42 GMT
Ivan Zhakov <ivan@visualsvn.com> writes:

> -  return ne_xml_parse(pwb->parser, data, len);
> +  parser_status = ne_xml_parse(pwb->parser, data, len);
> +  if (parser_status)
> +  {
> +      /* Pass XML parser error. */
> +      ne_set_error(pwb->req->ne_sess, "%s", ne_xml_get_error(pwb->parser));
> +  }
> +
> +  return parser_status;

There's another call to ne_xml_parse in that file, in
parse_spool_file. Should we make the same change there?

-- 
Philip

Mime
View raw message