Commit 7b551449 authored by Daniel Lenski's avatar Daniel Lenski

fix misuse of write_new_config callback by GP, causing Java crashes

parent f06b564f
......@@ -295,7 +295,7 @@ gateways:
buf_append(buf, " </ServerList>\n</GPPortal>\n");
if ((result = buf_error(buf)))
goto out;
if ((result = vpninfo->write_new_config(vpninfo, buf->data, buf->pos)))
if ((result = vpninfo->write_new_config(vpninfo->cbdata, buf->data, buf->pos)))
goto out;
}
......
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