Index: net/quic/quic_crypto_stream.cc |
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc |
index 6d9358d3cd4ff7938206cdde23f01d1e29899598..43cf497bd3c169b862a9008c9293991d0a7ea007 100644 |
--- a/net/quic/quic_crypto_stream.cc |
+++ b/net/quic/quic_crypto_stream.cc |
@@ -18,7 +18,9 @@ using base::StringPiece; |
namespace net { |
-#define ENDPOINT (session()->is_server() ? "Server: " : " Client: ") |
+#define ENDPOINT \ |
+ (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ |
+ " ") |
QuicCryptoStream::QuicCryptoStream(QuicSession* session) |
: ReliableQuicStream(kCryptoStreamId, session), |