Commit 78b0456c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[805] a minor style fix: distinguish false and NULL

parent 3fcadc1a
...@@ -338,10 +338,10 @@ class DNSServerTestBase : public::testing::Test { ...@@ -338,10 +338,10 @@ class DNSServerTestBase : public::testing::Test {
} }
~ DNSServerTestBase() { ~ DNSServerTestBase() {
if (udp_server_) { if (udp_server_ != NULL) {
udp_server_->stop(); udp_server_->stop();
} }
if (tcp_server_) { if (tcp_server_ != NULL) {
tcp_server_->stop(); tcp_server_->stop();
} }
delete checker_; delete checker_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment