summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2006-12-10 00:34:21 +0000
committerBen Harris <bjh21@bjh21.me.uk>2006-12-10 00:34:21 +0000
commit705cc5f154d89d9c3009e30b573c987bc38e775e (patch)
treedab5c76c587f04908218e71824837a0e6212c143
parent68ede351bebf4384518159e29203bad82b813812 (diff)
downloadhalibut-705cc5f154d89d9c3009e30b573c987bc38e775e.zip
halibut-705cc5f154d89d9c3009e30b573c987bc38e775e.tar.gz
halibut-705cc5f154d89d9c3009e30b573c987bc38e775e.tar.bz2
halibut-705cc5f154d89d9c3009e30b573c987bc38e775e.tar.xz
Remove accidentally-committed deflate-debugging code.
[originally from svn r6985]
-rw-r--r--bk_pdf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 319e8fb..bdce859 100644
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -487,11 +487,6 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
rdaddsc(&rs, text);
if (o->stream.text) {
- char buf[100];
- sprintf(buf, "stream%06d", o->number);
- fp = fopen(buf, "wb");
- fwrite(o->stream.text, 1, o->stream.pos, fp);
- fclose(fp);
zcontext = deflate_compress_new(DEFLATE_TYPE_ZLIB);
deflate_compress_data(zcontext, o->stream.text, o->stream.pos,
DEFLATE_END_OF_DATA, &zbuf, &zlen);