]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2834] use NULL instead of 0
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 4 Apr 2013 04:37:38 +0000 (21:37 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 4 Apr 2013 05:38:01 +0000 (22:38 -0700)
based on discussion in #2833

src/lib/datasrc/tests/zone_finder_context_unittest.cc
src/lib/datasrc/tests/zone_loader_unittest.cc

index af89afe056180a555fbca022d289d050afb530e3..d6df089a50dc14dc468d26e53f55c3f017336bc5 100644 (file)
@@ -72,7 +72,7 @@ typedef DataSourceClientPtr (*ClientCreator)(RRClass, const Name&);
 DataSourceClientPtr
 createInMemoryClient(RRClass zclass, const Name& zname) {
     const internal::CacheConfig cache_conf(
-        "MasterFiles", 0, *Element::fromJSON(
+        "MasterFiles", NULL, *Element::fromJSON(
             "{\"cache-enable\": true,"
             " \"params\":"
             "  {\"" + zname.toText() + "\": \"" +
index 70fa9c6a9bd8f5bedde02f290e9d8786f3c66768..4cf9e9a7b72cd344ead8f147d9af23503f0d4bf4 100644 (file)
@@ -312,7 +312,7 @@ protected:
                 string(TEST_DATA_DIR) + "/" + filename + "\"";
         }
         const internal::CacheConfig cache_conf(
-            "MasterFiles", 0, *Element::fromJSON(
+            "MasterFiles", NULL, *Element::fromJSON(
                 "{\"cache-enable\": true,"
                 " \"params\": {" + param_data + "}}"), true);
         ztable_segment_.reset(memory::ZoneTableSegment::create(