projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for building Option HSO plugin as builtin
[connman]
/
plugins
/
polkit.c
diff --git
a/plugins/polkit.c
b/plugins/polkit.c
index
de183a2
..
16dd9d5
100644
(file)
--- a/
plugins/polkit.c
+++ b/
plugins/polkit.c
@@
-47,7
+47,7
@@
static int polkit_authorize(const char *sender,
PolKitCaller *caller;
PolKitAction *action;
PolKitResult result;
PolKitCaller *caller;
PolKitAction *action;
PolKitResult result;
- const char *id;
+ const char *id = NULL;
DBG("sender %s", sender);
DBG("sender %s", sender);
@@
-176,4
+176,4
@@
static void polkit_exit(void)
}
CONNMAN_PLUGIN_DEFINE(polkit, "PolicyKit authorization plugin", VERSION,
}
CONNMAN_PLUGIN_DEFINE(polkit, "PolicyKit authorization plugin", VERSION,
- polkit_init, polkit_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, polkit_init, polkit_exit)