diff options
author | Vladimir Kobal <vlad@prokk.net> | 2019-05-24 17:18:00 +0300 |
---|---|---|
committer | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-05-24 17:18:00 +0300 |
commit | 7ac912b5baad5da2a2ff3374fe897a5a2593daa9 (patch) | |
tree | cf8de4cc55fedb079e393f1376fb36099d156e1f /streaming | |
parent | 88c72d4bc9248d9ff7415fd10c9df1622470e47d (diff) |
Remove system_info copying (#6113)
* Remove system_info copying
* Return res flag
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/rrdpush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/streaming/rrdpush.c b/streaming/rrdpush.c index 2e9050ff28..cdf541e371 100644 --- a/streaming/rrdpush.c +++ b/streaming/rrdpush.c @@ -1079,7 +1079,6 @@ static void rrdpush_receiver_thread_cleanup(void *ptr) { freez(rpt->client_port); freez(rpt->program_name); freez(rpt->program_version); - rrdhost_system_info_free(rpt->system_info); freez(rpt); } } @@ -1179,7 +1178,7 @@ int rrdpush_receiver_thread_spawn(RRDHOST *host, struct web_client *w, char *url else if(!strcmp(name, "tags")) tags = value; else - if(unlikely(rrdhost_set_system_info_variable(system_info, name, value))) { + if(unlikely(rrdhost_set_system_info_variable(NULL, system_info, name, value))) { info("STREAM [receive from [%s]:%s]: request has parameter '%s' = '%s', which is not used.", w->client_ip, w->client_port, key, value); } } |