summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2013-06-02 17:29:00 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-03 10:36:50 +0200
commitf6b1bd8cf8b0ecb0fb7a146837dc827a66c28b2f (patch)
treea7de32e76fe3147e78bdd699ec70a9a0f4b95dc7
parent2a61959e31a0010043caf013ba75e43ee03256cf (diff)
downloadmupdf-f6b1bd8cf8b0ecb0fb7a146837dc827a66c28b2f.tar.xz
Do not print invalid hex character in warning
This means that warnings can now be rate limited.
-rw-r--r--pdf/pdf_lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_lex.c b/pdf/pdf_lex.c
index adb3aea3..6b03d8d9 100644
--- a/pdf/pdf_lex.c
+++ b/pdf/pdf_lex.c
@@ -364,7 +364,7 @@ lex_hex_string(fz_stream *f, pdf_lexbuf *lb)
case EOF:
goto end;
default:
- fz_warn(f->ctx, "ignoring invalid character in hex string: '%c'", c);
+ fz_warn(f->ctx, "ignoring invalid character in hex string");
}
}
end: