summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 028a9df)
raw | patch | inline | side by side (parent: 028a9df)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 1 Aug 2016 20:15:25 +0000 (22:15 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 1 Aug 2016 20:15:25 +0000 (22:15 +0200) |
src/apache.c | patch | blob | history |
diff --git a/src/apache.c b/src/apache.c
index 8c24a703ecb994ec7b9f1bcfc6815539471f9b75..afdeda4ec2eb02a8e5296546102d5e1bfdf9574a 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
if (status == 0)
{
- user_data_t ud = { 0 };
- char callback_name[3*DATA_MAX_NAME_LEN] = { 0 };
+ user_data_t ud = {
+ .data = st,
+ .free_func = apache_free
+ };
- ud.data = st;
- ud.free_func = apache_free;
+ char callback_name[3*DATA_MAX_NAME_LEN];
ssnprintf (callback_name, sizeof (callback_name),
"apache/%s/%s",