Perform some minor cleanups on the encoding negotiation
code.  Fix missed svn_txdelta_to_svndiff call that needed
updating.

* subversion/mod_dav_svn/repos.c
  (sort_encoding_pref): constify casts.
  (svn_dav__negotiate_encoding_prefs): Voidify.
  Set svndiff_version to 0 unless we find svndiff1.
  Check whether array is null explicitly.
  (dav_svn_deliver): Use svndiff1 if possible.



git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/svndiff1@857368 13f79535-47bb-0310-9956-ffa450edef68
1 file changed