]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.c
Check the return value of node_write_config() while handling invitations.
[meshlink] / src / meshlink.c
index 4162b36e7c7f569b01be95f675546868ccc16d1c..7a01bd0ffae8f921f7e3b28457e26f6198b7b6b2 100644 (file)
@@ -3535,7 +3535,7 @@ void handle_network_change(meshlink_handle_t *mesh, bool online) {
        retry(mesh);
 }
 
-void call_error_cb(meshlink_handle_t *mesh) {
+void call_error_cb(meshlink_handle_t *mesh, meshlink_errno_t meshlink_errno) {
        // We should only call the callback function if we are in the background thread.
        if(!mesh->error_cb) {
                return;