aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-09-06 15:58:09 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-09-06 15:58:09 +0000
commit9889a811dbe668d17f30959432a8038d0eaed95f (patch)
treea1b01fa26f662d3f523dc0fbd841e2a454707200
parent9e38d882b9bb3a63bd464ed2ea83a045d52a8db2 (diff)
Fix warning about missing initializers.
-rw-r--r--lib/hostthre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index ebd9e7dc5..6b358882f 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -289,7 +289,7 @@ static unsigned __stdcall gethostbyname_thread (void *arg)
* This allows us to use it even after the container gets destroyed
* due to a resolver timeout.
*/
- struct thread_sync_data tsd = {0};
+ struct thread_sync_data tsd = { 0,0,0,NULL };
if (!init_thread_sync_data(td, conn->async.hostname, &tsd)) {
/* thread synchronization data initialization failed */
return -1;
@@ -356,7 +356,7 @@ static unsigned __stdcall getaddrinfo_thread (void *arg)
* This allows us to use it even after the container gets destroyed
* due to a resolver timeout.
*/
- struct thread_sync_data tsd = {0};
+ struct thread_sync_data tsd = { 0,0,0,NULL };
if (!init_thread_sync_data(td, conn->async.hostname, &tsd)) {
/* thread synchronization data initialization failed */
return -1;