fix ffi DeactivatePeerEngine call
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Dan Ballard 2022-12-11 15:59:37 -08:00
parent 596b65f12d
commit 9958c72d5d
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ class CwtchFfi implements Cwtch {
// ignore: non_constant_identifier_names
void DeactivatePeerEngine(String profile) {
var deactivatePeerEngineC = library.lookup<NativeFunction<string_to_void_function>>("c_ActivatePeerEngine");
var deactivatePeerEngineC = library.lookup<NativeFunction<string_to_void_function>>("c_DeactivatePeerEngine");
final DeactivatePeerEngine = deactivatePeerEngineC.asFunction<StringFn>();
final ut8profile = profile.toNativeUtf8();
DeactivatePeerEngine(ut8profile, ut8profile.length);