Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Dec 6, 2024
2 parents ead5454 + 00482e3 commit 5a4484c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpp/IceBT/talk/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class OutgoingPeerI final : public Talk::Peer
TalkApp* _app;
};

static string btUUID = "6a193943-1754-4869-8d0a-ddc5f9a2b294";
static string btsUUID = "043257a6-d67c-4000-aa62-2ffe4583d324";
static const char* btUUID = "6a193943-1754-4869-8d0a-ddc5f9a2b294";
static const char* btsUUID = "043257a6-d67c-4000-aa62-2ffe4583d324";

int
main(int argc, char* argv[])
Expand Down Expand Up @@ -301,11 +301,11 @@ TalkApp::doConnect(const string& cmd)
string proxy = "peer:";
if (secure)
{
proxy += "bts -a \"" + addr + "\" -u " + btsUUID;
proxy += "bts -a \"" + addr + "\" -u " + string{btsUUID};
}
else
{
proxy += "bt -a \"" + addr + "\" -u " + btUUID;
proxy += "bt -a \"" + addr + "\" -u " + string{btUUID};
}
remote = Ice::uncheckedCast<Talk::PeerPrx>(_communicator->stringToProxy(proxy));
_remote = remote;
Expand Down

0 comments on commit 5a4484c

Please sign in to comment.