Skip to content

Commit

Permalink
change LICENSE (OpenAtomFoundation#2360)
Browse files Browse the repository at this point in the history
Co-authored-by: wuxianrong <[email protected]>
  • Loading branch information
Mixficsol and wuxianrong authored Jan 30, 2024
1 parent 2e9f7ee commit 82a061e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015-2020, Qihoo360
Copyright (c) 2015-2024, Qihoo360
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
2 changes: 1 addition & 1 deletion src/pika_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ void PikaServer::DbSyncSendFile(const std::string& ip, int port, const std::stri

std::string PikaServer::DbSyncTaskIndex(const std::string& ip, int port, const std::string& db_name) {
char buf[256];
snprintf(buf, sizeof(buf), "%s:%d_%s:%d", ip.data(), port, db_name.data());
snprintf(buf, sizeof(buf), "%s:%d_%s", ip.data(), port, db_name.data());
return buf;
}

Expand Down

0 comments on commit 82a061e

Please sign in to comment.