Browse Source

[trac613] fixed a typo: s/=/==/ in assertion. this is a bug, but wouldn't be
realized (un)luckily.

JINMEI Tatuya 14 years ago
parent
commit
950fc0ab5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/datasrc/memory_datasrc.cc

+ 1 - 1
src/lib/datasrc/memory_datasrc.cc

@@ -472,7 +472,7 @@ struct MemoryZone::MemoryZoneImpl {
                      * Otherwise, why would the DOMAINFLAG_WILD be there if
                      * there was no wildcard under it?
                      */
-                    assert(result = DomainTree::EXACTMATCH);
+                    assert(result == DomainTree::EXACTMATCH);
                     /*
                      * We have the wildcard node now. Jump below the switch,
                      * where handling of the common (exact-match) case is.