In case TOR_COMPRESS_OK:, it will happily report success when in_len is non-zero.
case TOR_COMPRESS_OK: