Browse Source

[trac505] FIXME: Replace assert

Michal 'vorner' Vaner 14 years ago
parent
commit
073d75e7ab
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bin/auth/query.cc

+ 2 - 0
src/bin/auth/query.cc

@@ -156,6 +156,8 @@ Query::process() const {
                 /*
                  * Empty DNAME should never get in, as it is impossible to
                  * create one in master file.
+                 *
+                 * FIXME: Other way to prevent this should be done
                  */
                 assert(db_result.rrset->getRdataCount() > 0);
                 // Get the data of DNAME