mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix crash due to empty pointer
This commit is contained in:
@@ -177,7 +177,7 @@ int PeerConnection::Init(PeerConnectionParams params,
|
||||
const unsigned short receive, void *user_ptr) {
|
||||
if (net_status_report_) {
|
||||
net_status_report_(atoi(transmission_id_.c_str()), TraversalMode(mode),
|
||||
send, receive, user_ptr);
|
||||
send, receive, user_data_);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user