You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by iv...@apache.org on 2011/05/23 13:07:38 UTC

svn commit: r1126432 - /subversion/trunk/subversion/libsvn_ra_neon/props.c

Author: ivan
Date: Mon May 23 11:07:38 2011
New Revision: 1126432

URL: http://svn.apache.org/viewvc?rev=1126432&view=rev
Log:
* subversion/libsvn_ra_neon/props.c
  (svn_ra_neon__get_baseline_props): Use apr_ltoa() to convert revision 
   number to string.

Modified:
    subversion/trunk/subversion/libsvn_ra_neon/props.c

Modified: subversion/trunk/subversion/libsvn_ra_neon/props.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_neon/props.c?rev=1126432&r1=1126431&r2=1126432&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_neon/props.c (original)
+++ subversion/trunk/subversion/libsvn_ra_neon/props.c Mon May 23 11:07:38 2011
@@ -957,12 +957,8 @@ svn_error_t *svn_ra_neon__get_baseline_p
   else
     {
       /* Fetch a specific revision */
-
-      char label[20];
-
       /* ### send Label hdr, get DAV:baseline-collection [from the baseline] */
-
-      apr_snprintf(label, sizeof(label), "%ld", revision);
+      const char *label = apr_ltoa(pool, revision);
 
       /* ### do we want to optimize the props we fetch, based on what the
          ### user asked for? i.e. omit version-name if latest_rev is NULL */