]> granicus.if.org Git - pdns/commitdiff
Improve SyncRes::doResolve documentation
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 14 Mar 2017 14:39:20 +0000 (15:39 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 4 Apr 2017 15:10:43 +0000 (17:10 +0200)
pdns/recursordist/contrib/syncres.dot

index 2a3f26ace551335d382306b57bdd96f513829c88..b931eea8df24fd76168698e4d78a96064a7975e5 100644 (file)
@@ -50,12 +50,12 @@ digraph {
     "return res from doOOBResolve()" [color=green];
     doResolve_asyncresolveWrapper -> "return result from asyncresolveWrapper()";
     "return result from asyncresolveWrapper()" [color=green];
-    doResolve_doCNAMECacheCheck -> "Did doCNAMECacheCheck() return a true-ish value?";
-    "Did doCNAMECacheCheck() return a true-ish value?" -> doResolve_return_res [label=yes];
-    "Did doCNAMECacheCheck() return a true-ish value?" -> doResolve_doCacheCheck [label=no];
-    doResolve_doCacheCheck -> "did doCacheCheck() return a true-ish value?";
-    "did doCacheCheck() return a true-ish value?" -> doResolve_return_res [label=yes];
-    "did doCacheCheck() return a true-ish value?" -> doResolve_getBestNSNamesFromCache [label=no];
+
+    doResolve_doCNAMECacheCheck -> doResolve_doCacheCheck [label="returned false"];
+    doResolve_doCNAMECacheCheck -> doResolve_return_res [label="returned true"];
+
+    doResolve_doCacheCheck -> doResolve_getBestNSNamesFromCache [label="returned false"];
+    doResolve_doCacheCheck -> doResolve_return_res [label="returned true"];
 
     doResolve_getBestNSNamesFromCache -> doResolve_doResolveAt;
     doResolve_doResolveAt -> doResolve_return_res [label="res == -2"];