mod_netconf: BUGFIX: copy-config
Do not parse again source and target parameter from JSON message. These
data are parsed in common part for all operations.
diff --git a/src/mod_netconf.c b/src/mod_netconf.c
index bdad403..7b19cc2 100644
--- a/src/mod_netconf.c
+++ b/src/mod_netconf.c
@@ -817,10 +817,7 @@
break;
case MSG_COPYCONFIG:
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server, "Request: copy-config (session %s)", session_key);
- source = target = config = NULL;
-
- source = json_object_get_string(json_object_object_get(request, "source"));
- target = json_object_get_string(json_object_object_get(request, "target"));
+ config = NULL;
reply = json_object_new_object();