- test for external iterator
[oweals/gnunet.git] / src / util / os_installation.c
index 8445fd1ccc8998e2226d71257da282367e3de019..753ed448e03f779b0a957bf0754e5e76c1459157 100644 (file)
@@ -664,7 +664,7 @@ GNUNET_OS_get_libexec_binary_path (const char *progname)
  *         GNUNET_SYSERR on error (no such binary or not executable)
  */
 int
-GNUNET_OS_check_helper_binary (const char *binary, const boolean check_suid, const char *params)
+GNUNET_OS_check_helper_binary (const char *binary, int check_suid, const char *params)
 {
   struct stat statbuf;
   char *p;
@@ -744,7 +744,9 @@ GNUNET_OS_check_helper_binary (const char *binary, const boolean check_suid, con
     PROCESS_INFORMATION proc;
     DWORD exit_value;
     
-    GNUNET_snprintf (&parameters, 512, "-d %s", params);
+    GNUNET_snprintf (parameters, 
+                    sizeof (parameters), 
+                    "-d %s", params);
     memset (&start, 0, sizeof (start));
     start.cb = sizeof (start);
     memset (&proc, 0, sizeof (proc));