with the entries from the source one, otherwise add234 will keep
failing ("this key already exists"). Completely broke Plink, ahem.
git-svn-id: http://svn.tartarus.org/sgt/putty@9218
cda61777-01e9-0310-a592-
d414129be87e
struct conf_entry *entry, *entry2;
int i;
+ conf_clear(newconf);
+
for (i = 0; (entry = index234(oldconf->tree, i)) != NULL; i++) {
entry2 = snew(struct conf_entry);
copy_key(&entry2->key, &entry->key);