aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-24 11:04:43 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-24 11:04:43 +0000
commit8fbd1ddbe17f6141d72f661fde108dbc1089f17b (patch)
treedc10b755763144a533968e9f71407072d3b30a8d /src/util/os_installation.c
parenta3bafed89534fb9fc1bcfcd10f512ff3cd150a63 (diff)
downloadgnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.tar.gz
gnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.zip
-w32 bugfix -- compiler warning too
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r--src/util/os_installation.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 6e0754b21..753ed448e 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -744,7 +744,9 @@ GNUNET_OS_check_helper_binary (const char *binary, int check_suid, const char *p
744 PROCESS_INFORMATION proc; 744 PROCESS_INFORMATION proc;
745 DWORD exit_value; 745 DWORD exit_value;
746 746
747 GNUNET_snprintf (&parameters, 512, "-d %s", params); 747 GNUNET_snprintf (parameters,
748 sizeof (parameters),
749 "-d %s", params);
748 memset (&start, 0, sizeof (start)); 750 memset (&start, 0, sizeof (start));
749 start.cb = sizeof (start); 751 start.cb = sizeof (start);
750 memset (&proc, 0, sizeof (proc)); 752 memset (&proc, 0, sizeof (proc));