diff options
author | Andris Mednis <Andris.Mednis@zabbix.com> | 2021-10-15 01:04:19 +0300 |
---|---|---|
committer | Andris Mednis <Andris.Mednis@zabbix.com> | 2021-10-15 01:04:19 +0300 |
commit | 5a7ed715311393740b1264edcce7b649c37cc198 (patch) | |
tree | 9476403e48615dfbbd7073cd801ba0286c4723ba /src/libs/zbxaudit | |
parent | 335c4236c98d43cc724db9f28363ab30a6212f69 (diff) |
........S. [ZBX-20077] reformatted lines to recommended length
Diffstat (limited to 'src/libs/zbxaudit')
-rw-r--r-- | src/libs/zbxaudit/audit.c | 3 | ||||
-rw-r--r-- | src/libs/zbxaudit/audit_item.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/libs/zbxaudit/audit.c b/src/libs/zbxaudit/audit.c index fce157eb787..62e1d5419f5 100644 --- a/src/libs/zbxaudit/audit.c +++ b/src/libs/zbxaudit/audit.c @@ -223,8 +223,7 @@ static unsigned zbx_audit_hash_func(const void *data) hash = ZBX_DEFAULT_UINT64_HASH_ALGO(&((*audit_entry)->id), sizeof((*audit_entry)->id), ZBX_DEFAULT_HASH_SEED); - return ZBX_DEFAULT_UINT64_HASH_ALGO(&((*audit_entry)->id_table), sizeof((*audit_entry)->id_table), - hash); + return ZBX_DEFAULT_UINT64_HASH_ALGO(&((*audit_entry)->id_table), sizeof((*audit_entry)->id_table), hash); } static int zbx_audit_compare_func(const void *d1, const void *d2) diff --git a/src/libs/zbxaudit/audit_item.c b/src/libs/zbxaudit/audit_item.c index 6809c078f56..50a2aa866cd 100644 --- a/src/libs/zbxaudit/audit_item.c +++ b/src/libs/zbxaudit/audit_item.c @@ -255,8 +255,8 @@ void zbx_audit_item_update_json_add_lld_data(zbx_uint64_t itemid, const zbx_lld_ ADD_JSON_S(snmp_oid, AUDIT_TABLE_NAME, "snmp_oid"); ADD_JSON_P_UI(authtype, AUDIT_TABLE_NAME, "authtype"); ADD_JSON_S(username, AUDIT_TABLE_NAME, "username"); - zbx_audit_update_json_append_string_secret(itemid, AUDIT_ITEM_ID, AUDIT_DETAILS_ACTION_ADD, IT(password), item->password, - AUDIT_TABLE_NAME, "password"); + zbx_audit_update_json_append_string_secret(itemid, AUDIT_ITEM_ID, AUDIT_DETAILS_ACTION_ADD, IT(password), + item->password, AUDIT_TABLE_NAME, "password"); ADD_JSON_P_S(publickey, AUDIT_TABLE_NAME, "publickey"); ADD_JSON_P_S(privatekey, AUDIT_TABLE_NAME, "privatekey"); ADD_JSON_S(description, AUDIT_TABLE_NAME, "description"); |