]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
docs nitpicks
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 25 Aug 2016 11:38:00 +0000 (13:38 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 25 Aug 2016 16:10:12 +0000 (18:10 +0200)
daemon/README.rst
lib/README.rst

index 66dcfaa971cc561b1031a608c6081280a9724e2a..6f517158ccec26fc86a12eb70d717b2e731e5752 100644 (file)
@@ -86,7 +86,7 @@ Scaling out
 
 The server can clone itself into multiple processes upon startup, this enables you to scale it on multiple cores.
 Multiple processes can serve different addresses, but still share the same working directory and cache.
-You can add start and stop processes on runtime based on the load.
+You can add, start and stop processes during runtime based on the load.
 
 .. code-block:: bash
 
@@ -102,7 +102,7 @@ You can add start and stop processes on runtime based on the load.
    bash(3533)─┬─kresd(19212)─┬─kresd(19212)
               │              ├─kresd(19212)
               │              └─kresd(19212)
-              └─pstree(19460)  
+              └─pstree(19460)
 
 .. _daemon-reuseport:
 
index ac0d5e94a2efd4db7a0d945e6ff192eecc9cb289..0019bf72342209f12954464a6934431d53f22fa6 100644 (file)
@@ -111,7 +111,7 @@ This is only passive processing of the incoming answer. If you want to change th
                if (can_satisfy(cur)) {
                        /* This flag makes the resolver move the query
                         * to the "resolved" list. */
-                       query->flags |= QUERY_RESOLVED;
+                       cur->flags |= QUERY_RESOLVED;
                        return KNOT_STATE_DONE;
                }