summaryrefslogtreecommitdiff
path: root/memory/unix/apr_sms.c
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-07-02 08:32:27 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-07-02 08:32:27 +0000
commit33f7c3b269882a4d9dd370b51f29cda358556299 (patch)
tree718f23648d3e8b6e2f2911da557f42f426b3f18c /memory/unix/apr_sms.c
parent5ea42f9407acd409558442c62d283a56b65ed996 (diff)
downloadlibapr-33f7c3b269882a4d9dd370b51f29cda358556299.tar.gz
More debugging and a small cleanup...
- change back some bits I removed in error - add the start of an ability to "tag" an sms so we have more information when debugging git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61850 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory/unix/apr_sms.c')
-rw-r--r--memory/unix/apr_sms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/memory/unix/apr_sms.c b/memory/unix/apr_sms.c
index 8d25c6228..246d24d08 100644
--- a/memory/unix/apr_sms.c
+++ b/memory/unix/apr_sms.c
@@ -869,4 +869,10 @@ APR_DECLARE(void) apr_sms_show_structure(apr_sms_t *sms, int direction)
}
#endif /* DEBUG_SHOW_STRUCTURE */
+#if DEBUG_TAG_SMS
+APR_DECLARE(void) apr_sms_tag(const char *tag, apr_sms_t *sms)
+{
+ sms->tag = tag;
+}
+#endif