builder: Fix error with va_start use

tingping/wmclass
Alexander Larsson 2016-01-19 12:38:16 +01:00
parent 2abe3ff911
commit 2f3e790651
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ do_export (GError **error,
for (i = 0; opt_key_ids != NULL && opt_key_ids[i] != NULL; i++)
g_ptr_array_add (args, g_strdup_printf ("--gpg-sign=%s", opt_key_ids[i]));
va_start (ap, error);
va_start (ap, runtime);
while ((arg = va_arg (ap, const gchar *)))
g_ptr_array_add (args, g_strdup ((gchar *) arg));
va_end (ap);