Browse Source

[2164] Update syntax of rrsig_ test as it is a shared_ptr

Mukund Sivaraman 12 years ago
parent
commit
3ed457da1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/rrset.cc

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

@@ -251,7 +251,7 @@ RRset::~RRset() {}
 
 
 unsigned int
 unsigned int
 RRset::getSIGRdataCount() const {
 RRset::getSIGRdataCount() const {
-    if (rrsig_ != NULL) {
+    if (rrsig_) {
         return (rrsig_->getRdataCount());
         return (rrsig_->getRdataCount());
     } else {
     } else {
         return (0);
         return (0);