Commit bc16389c authored by Ray Strode's avatar Ray Strode

jsauthority: use JS_FN instead of JS_FS

since it doesn't crash if i do that
Signed-off-by: Ray Strode's avatarRay Strode <rstrode@redhat.com>

https://bugs.freedesktop.org/show_bug.cgi?id=105865
parent 0e5762a4
...@@ -198,9 +198,9 @@ static JSBool js_polkit_user_is_in_netgroup (JSContext *cx, unsigned argc, jsval ...@@ -198,9 +198,9 @@ static JSBool js_polkit_user_is_in_netgroup (JSContext *cx, unsigned argc, jsval
static JSFunctionSpec js_polkit_functions[] = static JSFunctionSpec js_polkit_functions[] =
{ {
JS_FS("log", js_polkit_log, 0, 0), JS_FN("log", js_polkit_log, 0, 0),
JS_FS("spawn", js_polkit_spawn, 0, 0), JS_FN("spawn", js_polkit_spawn, 0, 0),
JS_FS("_userIsInNetGroup", js_polkit_user_is_in_netgroup, 0, 0), JS_FN("_userIsInNetGroup", js_polkit_user_is_in_netgroup, 0, 0),
JS_FS_END JS_FS_END
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment