static void part_write_body(const struct message_part *part,
string_t *str, bool extended)
{
+#define NVL(str, nullstr) ((str) != NULL ? (str) : (nullstr))
struct message_part_body_data *data = part->context;
bool text;
void imap_envelope_write_part_data(struct message_part_envelope_data *data,
string_t *str)
{
+#define NVL(str, nullstr) ((str) != NULL ? (str) : (nullstr))
static const char *empty_envelope =
"NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL";
#define CLAMP(x, low, high) \
(((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
-#undef NVL
-#define NVL(str, nullstr) ((str) != NULL ? (str) : (nullstr))
-
/* make it easier to cast from/to pointers. assumes that
sizeof(size_t) == sizeof(void *) and they're both the largest datatypes
that are allowed to be used. so, long long isn't safe with these. */