dump: Use dump functions in add_document_to_string
commit773549180db2e07cdd1051a6b26441b32d935c48
authorKalle Olavi Niemitalo <kon@iki.fi>
Fri, 19 Jun 2009 13:55:15 +0000 (19 16:55 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 21 Jun 2009 16:35:50 +0000 (21 19:35 +0300)
tree2068a2a0551c69154ea8dfd6166eba93dacdf069
parentf64463a780e96456b474067a8b5b8bf57fc9881e
dump: Use dump functions in add_document_to_string

Now that struct dump_output supports appending to a string,
add_document_to_string() can just use that feature, instead of
duplicating the code.
src/viewer/dump/dump.c