aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/curl/curl_fetcher.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-08-18 12:15:03 +0200
committerMartin Willi <martin@revosec.ch>2010-08-18 12:15:03 +0200
commitba31fe1fd65feba781434ee4fabd9b1fd6432ecb (patch)
tree3d7073eb9bb51512d073eeccd3f0b3b5d32e1ff5 /src/libstrongswan/plugins/curl/curl_fetcher.c
parent53115857ae5f3b25e889f394de0c61e7cc455c74 (diff)
downloadstrongswan-ba31fe1fd65feba781434ee4fabd9b1fd6432ecb.tar.bz2
strongswan-ba31fe1fd65feba781434ee4fabd9b1fd6432ecb.tar.xz
Use a seperate section for each nested struct member in INIT macro
Diffstat (limited to 'src/libstrongswan/plugins/curl/curl_fetcher.c')
-rw-r--r--src/libstrongswan/plugins/curl/curl_fetcher.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libstrongswan/plugins/curl/curl_fetcher.c b/src/libstrongswan/plugins/curl/curl_fetcher.c
index 2341c9052..4835f6461 100644
--- a/src/libstrongswan/plugins/curl/curl_fetcher.c
+++ b/src/libstrongswan/plugins/curl/curl_fetcher.c
@@ -166,10 +166,12 @@ curl_fetcher_t *curl_fetcher_create()
private_curl_fetcher_t *this;
INIT(this,
- .public.interface = {
- .fetch = _fetch,
- .set_option = _set_option,
- .destroy = _destroy,
+ .public = {
+ .interface = {
+ .fetch = _fetch,
+ .set_option = _set_option,
+ .destroy = _destroy,
+ },
},
.curl = curl_easy_init(),
);