use defined constants

This commit is contained in:
holger krekel
2019-08-19 18:34:07 +02:00
parent 34f37ccd9c
commit ddd07b1702

View File

@@ -245,13 +245,13 @@ impl Job {
&mut dest_uid,
) as libc::c_uint
{
1 => {
DC_RETRY_LATER => {
self.try_again_later(Delay::Standard, None);
}
3 => {
DC_SUCCESS => {
dc_update_server_uid(context, msg.rfc724_mid, &dest_folder, dest_uid);
}
0 | 2 | _ => {}
_ => {}
}
}
}