bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
e4f1a5fdad77884e1de516521504c15dc936fa9dTimo Sirainenint quoted_printable_q_decode(const unsigned char *src, size_t src_size,
1a1fcdbe27a8cee9a4c453a6b2f625a5be572a32Timo Sirainen for (src_pos = 0; src_pos < src_size; src_pos++) {
1a1fcdbe27a8cee9a4c453a6b2f625a5be572a32Timo Sirainen if (src[src_pos] != '_' && src[src_pos] != '=')
1a1fcdbe27a8cee9a4c453a6b2f625a5be572a32Timo Sirainen buffer_append(dest, src + next, src_pos - next);
9882f82ad44ddee334081956e14118813651295fTimo Sirainen /* non-hex data, show as-is */