Accept str instead of char* in read_autoconf_file

This commit is contained in:
Alexander Krotov
2019-09-07 19:52:12 +03:00
parent 0a6e540394
commit 81cabd08a9
3 changed files with 5 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ pub unsafe fn outlk_autodiscover(
0,
::std::mem::size_of::<outlk_autodiscover_t>(),
);
xml_raw = read_autoconf_file(context, url);
xml_raw = read_autoconf_file(context, as_str(url));
if xml_raw.is_null() {
ok_to_continue = false;
break;