Browse Source

[2377] Minor code simplification

Michal 'vorner' Vaner 12 years ago
parent
commit
63cce9fa51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/master_loader.cc

+ 1 - 1
src/lib/dns/master_loader.cc

@@ -160,7 +160,7 @@ MasterLoader::MasterLoaderImpl::loadIncremental(size_t count_limit) {
             // the Rdata. The errors should have been reported by
             // callbacks_ already. We need to decide if we want to continue
             // or not.
-            if (data != rdata::RdataPtr()) {
+            if (data) {
                 add_callback_(name, rrclass, rrtype, ttl, data);
 
                 // Good, we loaded another one