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
@@ -657,7 +657,7 @@ socket_raw_socket_t *socket_raw_socket_create()
},
},
.max_packet = lib->settings->get_int(lib->settings,
"charon.max_packet", MAX_PACKET),
"%s.max_packet", MAX_PACKET, charon->name),
);
this->recv4 = open_recv_socket(this, AF_INET);