summaryrefslogtreecommitdiff
path: root/src/data_array.c
diff options
context:
space:
mode:
authorjan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9>2005-08-08 17:25:06 +0000
committerjan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9>2005-08-08 17:25:06 +0000
commit299a218d16b5af25f468307a44fba3696d155d83 (patch)
tree328e7bb7772e5197ea1926b13658937b3f0d0fff /src/data_array.c
parent82dd0844befd2d3cacdc73e1e4be5a71de0c42fc (diff)
downloadlighttpd-299a218d16b5af25f468307a44fba3696d155d83.tar.gz
added weak-ref and nicer print() (merged [332], [336])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@528 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/data_array.c')
-rw-r--r--src/data_array.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/data_array.c b/src/data_array.c
index 734efd1c..51d09cb9 100644
--- a/src/data_array.c
+++ b/src/data_array.c
@@ -42,11 +42,8 @@ static int data_array_insert_dup(data_unset *dst, data_unset *src) {
static void data_array_print(const data_unset *d, int depth) {
data_array *ds = (data_array *)d;
- array_print_indent(depth);
- fprintf(stderr, "{%s:\n", ds->key->ptr);
- array_print(ds->value, depth + 1);
- array_print_indent(depth);
- fprintf(stderr, "}");
+ fprintf(stderr, "array ");
+ array_print(ds->value, depth);
}
data_array *data_array_init(void) {