Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pereira0x committed Dec 14, 2023
1 parent 4115848 commit 9433c95
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ void setupDB() {
std::string nAuctions = std::to_string(count);
nAuctions += "\n";
write_to_file(nextAuctionFile, nAuctions);

};

void wait_for_udp_packet(AuctionServerState &state) {
Expand Down
1 change: 0 additions & 1 deletion src/server/server_auction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ std::string AuctionManager::getnextAuctionID() {
}
}


void validateOpenAuctionArgs(std::string userID, std::string password,
std::string auctionName, uint32_t startValue,
uint32_t timeActive, std::string assetFilename,
Expand Down
1 change: 0 additions & 1 deletion src/server/server_auction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class AuctionManager {
~AuctionManager() = default;
};


void validateOpenAuctionArgs(std::string userID, std::string password,
std::string auctionName, uint32_t startValue,
uint32_t timeActive, std::string assetFilename,
Expand Down
3 changes: 1 addition & 2 deletions src/utils/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,7 @@ std::string generateUniqueIdentifier() {
return unique_identifier;
}

std::string TcpPacket::readAndSaveToFile(const int fd,
std::string &file_name,
std::string TcpPacket::readAndSaveToFile(const int fd, std::string &file_name,
const size_t file_size, bool flag) {
if (flag) {
std::string filepath = generateUniqueIdentifier();
Expand Down

0 comments on commit 9433c95

Please sign in to comment.