struct istream *
i_stream_create_attachment_extractor(struct istream *input,
struct istream_attachment_settings *set,
- void *context);
+ void *context) ATTR_NULL(3);
/* Returns TRUE if the last read returned 0 only because
drain_parent_input=FALSE and we didn't have anything to return, but
a->base64_blocks_per_line = info->base64_blocks_per_line;
*output_r = o_stream_create_buffer(attachment_data);
- o_stream_seek(*output_r, a->buffer_offset);
+ if (o_stream_seek(*output_r, a->buffer_offset) < 0)
+ i_unreached();
return 0;
}