Skip to content

Commit 293eb3a

Browse files
Fixed logging in PeerConnection::changeSignalingState()
1 parent 9be14bb commit 293eb3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl/peerconnection.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ bool PeerConnection::changeSignalingState(SignalingState newState) {
11201120
return false;
11211121

11221122
std::ostringstream s;
1123-
s << state;
1123+
s << newState;
11241124
PLOG_INFO << "Changed signaling state to " << s.str();
11251125
mProcessor->enqueue(signalingStateChangeCallback.wrap(), newState);
11261126
return true;

0 commit comments

Comments
 (0)