Whoops. Compile fixes.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3707 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2021-12-27 22:00:37 +00:00
parent 2e1b0089ae
commit c590eb3a44
3 changed files with 12 additions and 2 deletions

View File

@ -568,7 +568,7 @@ static void _tf_ssb_on_broadcasts_changed_callback(tf_ssb_t* ssb, void* user_dat
JSValue response = JS_Call(context, callback, JS_UNDEFINED, 1, &argv);
if (tf_util_report_error(context, response))
{
tf_ssb_remove_broadcasts_changed_callback(_tf_ssb_on_connections_changed_callback, user_data);
tf_ssb_remove_broadcasts_changed_callback(ssb, _tf_ssb_on_broadcasts_changed_callback, user_data);
}
JS_FreeValue(context, response);
}