]> granicus.if.org Git - pdns/commitdiff
rec: Fix a typo in one comment of the negative cache unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 May 2018 16:10:05 +0000 (18:10 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 May 2018 16:10:05 +0000 (18:10 +0200)
pdns/recursordist/test-negcache_cc.cc

index 2431794657e9d0031a4cd29fb9588145b727b81a..f5ddec76b9a8e5256ffafdb39d9db1001fe1e26a 100644 (file)
@@ -385,7 +385,7 @@ BOOST_AUTO_TEST_CASE(test_dumpToFile) {
   }
 
   if (line != nullptr) {
-    /* getline() allocates a buffer then called with a nullptr,
+    /* getline() allocates a buffer when called with a nullptr,
        then reallocates it when needed, but we need to free the
        last allocation if any. */
     free(line);