Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the function return value,rename function name #36

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

lqxhub
Copy link
Collaborator

@lqxhub lqxhub commented Nov 13, 2023

修改 Message函数的返回值类型, 对执行命令的函数重命名

Centurybbx
Centurybbx previously approved these changes Nov 13, 2023
src/client.cc Outdated
@@ -520,7 +520,7 @@ bool PClient::isPeerMaster() const {
return repl_addr.GetIP() == PeerIP() && repl_addr.GetPort() == PeerPort();
}

int PClient::UniqueId() const {
int PClient::uniqueId() const {
Copy link
Collaborator

Choose a reason for hiding this comment

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

注意一个常识:ID HTTP TCP UDP 这些专有名词,统统大写,不要写出 Id Http 这种词

@AlexStocks AlexStocks merged commit c79bb5a into OpenAtomFoundation:unstable Nov 15, 2023
1 check passed
@lqxhub lqxhub deleted the client branch November 28, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants