summaryrefslogtreecommitdiff
path: root/plugins/vpn.c
diff options
context:
space:
mode:
authorMohamed Abbas <mabbas@linux.intel.com>2011-01-28 12:31:30 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-28 12:31:30 +0100
commitab4cdff6852fd5fe26ee3ad588f0200952841ffe (patch)
tree99b7aa5612cb235dd0fde7cfcb6592261da4a416 /plugins/vpn.c
parentd211eda9950464aea25aea3fbfc0bb276b697294 (diff)
downloadconnman-ab4cdff6852fd5fe26ee3ad588f0200952841ffe.tar.gz
connman-ab4cdff6852fd5fe26ee3ad588f0200952841ffe.tar.bz2
connman-ab4cdff6852fd5fe26ee3ad588f0200952841ffe.zip
task: Pass exit code to the exit callback
Diffstat (limited to 'plugins/vpn.c')
-rw-r--r--plugins/vpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index 278e0ea3..e1b6404b 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -102,7 +102,7 @@ static int kill_tun(char *tun_name)
return 0;
}
-void vpn_died(struct connman_task *task, void *user_data)
+void vpn_died(struct connman_task *task, int exit_code, void *user_data)
{
struct connman_provider *provider = user_data;
struct vpn_data *data = connman_provider_get_data(provider);