Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmands Arseniuss Skolmeisters <armands.skolmeisters@zabbix.com>2022-09-21 11:42:00 +0300
committerArmands Arseniuss Skolmeisters <armands.skolmeisters@zabbix.com>2022-09-21 11:42:00 +0300
commit5a356b4be951769e7b88d973be3ef0b84d8186d1 (patch)
treeb9f5e3b5db5df0e80b2ba0a2b7402bfd0808336c /src/zabbix_agent/listener.c
parent64721203c072622d5a792c8c090fcc23d9704590 (diff)
...G....S. [DEV-2260] remove redundant casts from C code
# Conflicts: # src/libs/zbxdb/db.c # src/libs/zbxmemory/memalloc.c # src/libs/zbxnum/num.c # src/zabbix_agent/listener.c
Diffstat (limited to 'src/zabbix_agent/listener.c')
-rw-r--r--src/zabbix_agent/listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_agent/listener.c b/src/zabbix_agent/listener.c
index 93352b698e4..0c46757641a 100644
--- a/src/zabbix_agent/listener.c
+++ b/src/zabbix_agent/listener.c
@@ -126,7 +126,7 @@ ZBX_THREAD_ENTRY(listener_thread, args)
zabbix_log(LOG_LEVEL_INFORMATION, "%s #%d started [%s #%d]", get_program_type_string(program_type),
server_num, get_process_type_string(process_type), process_num);
- memcpy(&s, (zbx_socket_t *)((zbx_thread_args_t *)args)->args, sizeof(zbx_socket_t));
+ memcpy(&s, ((zbx_thread_args_t *)args)->args, sizeof(zbx_socket_t));
zbx_free(args);