subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1209607 - /subversion/trunk/subversion/libsvn_subr/debug.c
Date Fri, 02 Dec 2011 17:55:15 GMT
Author: hwright
Date: Fri Dec  2 17:55:15 2011
New Revision: 1209607

URL: http://svn.apache.org/viewvc?rev=1209607&view=rev
Log:
Fix a couple of problems in followup to r1209598.

* subversion/libsvn_subr/debug.c
  (svn_dbg__print_props): Rename from the typo'd svn_dbg__print_propx().  Also,
    don't print the "DBG" string twice in the prop contents section.

Modified:
    subversion/trunk/subversion/libsvn_subr/debug.c

Modified: subversion/trunk/subversion/libsvn_subr/debug.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/debug.c?rev=1209607&r1=1209606&r2=1209607&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/debug.c (original)
+++ subversion/trunk/subversion/libsvn_subr/debug.c Fri Dec  2 17:55:15 2011
@@ -91,7 +91,7 @@ svn_dbg__printf(const char *fmt, ...)
 
 
 void
-svn_dbg__print_propx(apr_hash_t *props,
+svn_dbg__print_props(apr_hash_t *props,
                      const char *header_fmt,
                      ...)
 {
@@ -108,6 +108,6 @@ svn_dbg__print_propx(apr_hash_t *props,
       const char *name = svn__apr_hash_index_key(hi);
       svn_string_t *val = svn__apr_hash_index_val(hi);
 
-      SVN_DBG((DBG_FLAG "    '%s' -> '%s'\n", name, val->data));
+      SVN_DBG(("    '%s' -> '%s'\n", name, val->data));
     }
 }



Mime
View raw message