Use name from initialization to access settings in libcharon.

Also fixes several whitespace errors.
This commit is contained in:
Tobias Brunner
2012-05-03 13:57:04 +02:00
parent 18758e3d2e
commit 42500c274a
56 changed files with 279 additions and 220 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ METHOD(task_t, build, status_t,
int i;
strongswan = lib->settings->get_bool(lib->settings,
"charon.send_vendor_id", FALSE);
"%s.send_vendor_id", FALSE, charon->name);
for (i = 0; i < countof(vendor_ids); i++)
{
if (vendor_ids[i].send ||