na_elem_t* top_node = na_elem_new("shares-to-include);
na_child_add_string(top_node, "string", "File root");
expecting to get
but then actually got
The 'documentation' for na_child_add_string seems to indicate that we should only get one item.
By adding double quotes around the share name we get the expected behaviour.
The processing of na_child_add_string for shares-to-include differs from other places, i.e. when setting engine name you can't have double quotes around it.