Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

refactor: fix typo and add comments to security #699

Merged
merged 5 commits into from
Dec 26, 2020

Conversation

neverchanje
Copy link
Contributor

No description provided.

levy5307
levy5307 previously approved these changes Dec 22, 2020
* If this is a sasl server, it gets the name of the corresponding sasl client.
* But if this is a sasl client, it gets the name of itself
**/
error_s retrive_username(/*out*/ std::string &output);
error_s retrieve_username(/*out*/ std::string &output);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe extract_username is better?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't extract is better. Because extract means 提取. It's not the responsibility of this interface

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or get_username, retrieve is so confusing.

@acelyc111 acelyc111 merged commit f27decf into XiaoMi:master Dec 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants