Following up on r1667233, report errors from svnserve's get_location_segments function in a way that the caller doesn't get a protocol error. Change the error values to match what get_location_segments would return.
Following up on r1667233, report errors from svnserve's get_location_segments
function in a way that the caller doesn't get a protocol error. Change the
error values to match what get_location_segments would return.

* subversion/svnserve/serve.c
  (get_location_segments): Write done before writing the error.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1667301 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion