Index: webrtc/p2p/client/basicportallocator.cc |
diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
index 091819ac43f1d0e1420bcd123bb6c6384fd67291..c5d741211f9dfc2c75dca80c7dfd837430431719 100644 |
--- a/webrtc/p2p/client/basicportallocator.cc |
+++ b/webrtc/p2p/client/basicportallocator.cc |
@@ -1353,7 +1353,8 @@ void AllocationSequence::CreateRelayPorts() { |
// If BasicPortAllocatorSession::OnAllocate left relay ports enabled then we |
// ought to have a relay list for them here. |
- RTC_DCHECK(config_ && !config_->relays.empty()); |
+ RTC_DCHECK(config_); |
+ RTC_DCHECK(!config_->relays.empty()); |
if (!(config_ && !config_->relays.empty())) { |
LOG(LS_WARNING) |
<< "AllocationSequence: No relay server configured, skipping."; |