Add some ipconfig helpers
[framework/connectivity/connman.git] / plugins / polkit.c
index de183a2..8590dde 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007-2009  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2010  Intel Corporation. All rights reserved.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
@@ -47,7 +47,7 @@ static int polkit_authorize(const char *sender,
        PolKitCaller *caller;
        PolKitAction *action;
        PolKitResult result;
-       const char *id;
+       const char *id = NULL;
 
        DBG("sender %s", sender);
 
@@ -176,4 +176,4 @@ static void polkit_exit(void)
 }
 
 CONNMAN_PLUGIN_DEFINE(polkit, "PolicyKit authorization plugin", VERSION,
-                                               polkit_init, polkit_exit)
+               CONNMAN_PLUGIN_PRIORITY_DEFAULT, polkit_init, polkit_exit)