Skip to content

Commit 00f8d43

Browse files
committed
cosmetic(Initiation): Use correct spelling for Re-INVITE
1 parent f985bea commit 00f8d43

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/initiation/sipmanager.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ void SIPManager::setSDP(std::shared_ptr<SDPMessageInfo> sdp)
8181
{
8282
ourSDP_ = sdp;
8383

84-
Logger::getLogger()->printNormal(this, "Sending reINVITE through all our dialogs since our SDP has changed");
84+
Logger::getLogger()->printNormal(this, "Sending Re-INVITE through all our dialogs since our SDP has changed");
8585

8686
for (auto& dialog : dialogs_)
8787
{
8888
if (dialog.second != nullptr)
8989
{
9090
dialog.second->sdp->setBaseSDP(sdp);
9191

92-
// only send reINVITE for dialogs that have an active call ongoing
92+
// only send Re-INVITE for dialogs that have an active call ongoing
9393
if (dialog.second->state->isCallActive())
9494
{
9595
dMessages_.push(dialog.first);
@@ -294,11 +294,11 @@ uint32_t SIPManager::startCall(NameAddr &remote)
294294
}
295295

296296

297-
void SIPManager::reINVITE(uint32_t sessionID)
297+
void SIPManager::re_INVITE(uint32_t sessionID)
298298
{
299299
Q_ASSERT(dialogs_.find(sessionID) != dialogs_.end());
300300

301-
Logger::getLogger()->printNormal(this, "Sending reINVITE", {"SessionID"},
301+
Logger::getLogger()->printNormal(this, "Sending Re-INVITE", {"SessionID"},
302302
{QString::number(sessionID)});
303303

304304
std::shared_ptr<DialogInstance> dialog = getDialog(sessionID);
@@ -1134,7 +1134,7 @@ void SIPManager::delayedMessage()
11341134
dMessages_.pop();
11351135

11361136
// so far only INVITE is supported, but others could easily be supported
1137-
reINVITE(sessionID);
1137+
re_INVITE(sessionID);
11381138

11391139
refreshDelayTimer();
11401140
}

src/initiation/sipmanager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class SIPManager : public QObject
8585
// start a call with address. Returns generated sessionID
8686
uint32_t startCall(NameAddr &remote);
8787

88-
void reINVITE(uint32_t sessionID);
88+
void re_INVITE(uint32_t sessionID);
8989

9090
// TU wants something to happen.
9191
void respondRingingToINVITE(uint32_t sessionID);

0 commit comments

Comments
 (0)