Fix lint complaint about comment (#1506)

This commit is contained in:
Michael Jones 2024-05-29 21:07:20 -05:00 committed by GitHub
parent 6f82083ea3
commit 58dc071b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -779,8 +779,8 @@ int add_static_user_account(char *user) {
return -1;
}
// key argument (the usname variable) is deep-copied, so ownership isn't transfered, and we still need to free usname later..
// value argument (the key variable) has ownership transfered into this function
// key argument (the usname variable) is deep-copied, so ownership isn't transfered, and we still need to free usname
// later.. value argument (the key variable) has ownership transfered into this function
ur_string_map_put(turn_params.default_users_db.ram_db.static_accounts, (ur_string_map_key_type)usname,
(ur_string_map_value_type)*key);
ur_string_map_unlock(turn_params.default_users_db.ram_db.static_accounts);