From 6bd00710996a7253a4e4ccee0c85b416c3cc59f3 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sun, 17 Jan 2010 07:32:15 -0500 Subject: [PATCH] Fixed the COPY command only copying the first child node and not the entire tree. Hrm. --- src/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.c b/src/commands.c index 0f709d74..6bf5e8c5 100644 --- a/src/commands.c +++ b/src/commands.c @@ -3347,7 +3347,7 @@ static gpg_error_t copy_command(assuan_context_t ctx, gchar *line) if (!ndst && rc != EPWMD_ELEMENT_NOT_FOUND) goto fail; - new = xmlCopyNode(nsrc->children, 1); + new = xmlCopyNodeList(nsrc->children); if (!new) { rc = GPG_ERR_ENOMEM; -- 2.11.4.GIT