From: John Keeping Date: Sat, 18 May 2013 17:46:39 +0000 (+0100) Subject: cache.c: cache ls_cache output properly X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/f32a2da636ffa6eaa6b8d0d3f35a673fa12e404a?hp=f32a2da636ffa6eaa6b8d0d3f35a673fa12e404a cache.c: cache ls_cache output properly By using the standard library's printf, cache_ls does not redirect its output to the cache when we change the process' stdout file descriptor to point to the cache file. Fix this by using "htmlf" in the same way that we do for writing HTTP headers. Signed-off-by: John Keeping ---