afb-stub-ws: Improve naming
[src/app-framework-binder.git] / src / afb-supervision.c
index 8636ef0..e6bc0a5 100644 (file)
@@ -212,7 +212,7 @@ static void try_connect_supervisor()
                ERROR("Creation of supervisor failed: %m");
                goto end;
        }
-       afb_stub_ws_on_hangup(supervisor, on_supervisor_hangup);
+       afb_stub_ws_set_on_hangup(supervisor, on_supervisor_hangup);
 
        /* successful termination */
        goto end;