if (dsync_deserializer_decode_try(decoder, "pop3_uidl", &value))
mail->pop3_uidl = p_strdup(pool, value);
if (dsync_deserializer_decode_try(decoder, "pop3_order", &value) &&
- str_to_uint(value, &mail->pop3_order) < 0) {
+ str_to_uint32(value, &mail->pop3_order) < 0) {
dsync_ibc_input_error(ibc, decoder, "Invalid pop3_order");
return DSYNC_IBC_RECV_RET_TRYAGAIN;
}
return -1;
}
if (*str != '\0') {
- if (str_to_uint(str, &dmail_r->pop3_order) < 0)
+ if (str_to_uint32(str, &dmail_r->pop3_order) < 0)
i_unreached();
}
if (mail_get_received_date(mail, &dmail_r->received_date) < 0) {
bool minimal_fields;
const char *pop3_uidl;
- unsigned int pop3_order;
+ uint32_t pop3_order;
time_t received_date;
/* Input stream containing the message text, or NULL if all instances
of the message were already expunged from this mailbox. */