mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 05:56:31 +03:00
Change Context.os_name field to String
This commit is contained in:
@@ -24,7 +24,7 @@ pub struct TestContext {
|
||||
/// [Context]: crate::context::Context
|
||||
pub fn test_context(cb: Option<dc_callback_t>) -> TestContext {
|
||||
unsafe {
|
||||
let mut ctx = dc_context_new(cb, std::ptr::null_mut(), std::ptr::null_mut());
|
||||
let mut ctx = dc_context_new(cb, std::ptr::null_mut(), None);
|
||||
let dir = tempdir().unwrap();
|
||||
let dbfile = dir.path().join("db.sqlite");
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user