Reskinned Identity Selector per the JANET Wireframes documents.
[moonshot-ui.git] / src / moonshot-webp-parser.vala
index 90b5452..de52aff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2014, JANET(UK)
+ * Copyright (c) 2011-2016, JANET(UK)
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -37,7 +37,7 @@ namespace WebProvisioning
 
     public static int main(string[] args)
     {
-        logger = new MoonshotLogger("WebProvisioning");
+        logger = new MoonshotLogger("WebProvisioning (WebpParser)");
 
         int arg_index = -1;
         int force_flat_file_store = 0;
@@ -90,7 +90,11 @@ namespace WebProvisioning
         
             /* use temp arrays to workaround centos array property bug */
             var rules = card.rules;
-            var services = card.services;
+            string[] svcs = new string[card.services.size];
+            for (int i = 0; i < card.services.size; i++) {
+                svcs[i] = card.services[i];
+            }
+
             if (rules.length > 0)
             {
                 int i = 0;
@@ -111,7 +115,7 @@ namespace WebProvisioning
                                      card.issuer,
                                      rules_patterns,
                                      rules_always_confirm,
-                                     services,
+                                     svcs,
                                      card.trust_anchor.ca_cert,
                                      card.trust_anchor.subject,
                                      card.trust_anchor.subject_alt,