Index: webrtc/p2p/client/basicportallocator.cc |
diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
index ce95895e8ac8544996edc39fd46fe989f08a1a2b..66ee9a4ecf09d0ab64afecc4e67d149987723646 100644 |
--- a/webrtc/p2p/client/basicportallocator.cc |
+++ b/webrtc/p2p/client/basicportallocator.cc |
@@ -1350,7 +1350,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."; |