commit | 633fe6c954f09c1416b5a24ce42e80ea837599a3 | [log] [tgz] |
---|---|---|
author | Tomas Cejka <cejkat@cesnet.cz> | Sun Jun 22 18:00:46 2014 +0200 |
committer | Tomas Cejka <cejkat@cesnet.cz> | Sun Jun 22 18:00:46 2014 +0200 |
tree | 3e7371ffead8ca299b205735385b8246eb8a680c | |
parent | 5771414129c2eb3c19d9ed7bbff36657a6ccf3c5 [diff] |
fixed generic_rpc - remove useless test
diff --git a/src/mod_netconf.c b/src/mod_netconf.c index 87c6b5a..44350d4 100644 --- a/src/mod_netconf.c +++ b/src/mod_netconf.c
@@ -1425,11 +1425,6 @@ config = json_object_get_string(json_object_object_get(request, "content")); pthread_mutex_unlock(&json_lock); - if (config == NULL) { - return create_error("Missing content parameter."); - } - - /* TODO */ reply = netconf_generic(session_key, config, &data); if (reply == NULL) { GETSPEC_ERR_REPLY