From b6bd6e399d97fb107bb05bc16df6ff32fb2f6877 Mon Sep 17 00:00:00 2001 From: Jan Kanis Date: Tue, 22 Jan 2013 11:57:47 +0100 Subject: [PATCH] tweak reader interrupt behavior --- reader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reader.cpp b/reader.cpp index 6b778eb5f..07d58a31d 100644 --- a/reader.cpp +++ b/reader.cpp @@ -660,6 +660,9 @@ int reader_reading_interrupted() { reader_exit(1, 0); parser_t::skip_all_blocks(); + // We handled the interrupt ourselves, our caller doesn't need to + // handle it. + return 0; } return res; }