Merge pull request #423 from KAction/fix-master2

unbreak master
This commit is contained in:
björn petersen
2019-09-02 10:19:57 +02:00
committed by GitHub

View File

@@ -498,7 +498,7 @@ pub unsafe extern "C" fn dc_send_msg(
chat_id: u32,
msg: *mut dc_msg_t,
) -> u32 {
if context.is_null() || chat_id == 0 || msg.is_null() {
if context.is_null() || msg.is_null() {
eprintln!("ignoring careless call to dc_send_msg()");
return 0;
}