From: Miek Gieben Date: Wed, 4 May 2005 09:22:03 +0000 (+0000) Subject: typo's X-Git-Tag: release-0.50~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a43c8fbbf28254084c0368a2697b1f16bbdd7a7a;p=thirdparty%2Fldns.git typo's --- diff --git a/doc/tutorial.docbook b/doc/tutorial.docbook index 11f4fcfa..b4672e82 100644 --- a/doc/tutorial.docbook +++ b/doc/tutorial.docbook @@ -167,7 +167,7 @@ First we begin with some boiler plating: 15 } 16 -Line 9 is the important one here, this includes all the stuff we need +Line 8 is the important one here, this includes all the stuff we need from ldns. @@ -215,10 +215,10 @@ At line 41 we create a new resolver structure. When it's argument is NULL it use 49 */ 50 p = ldns_resolver_query(res, domain, LDNS_RR_TYPE_MX, LDNS_RR_CLASS_IN, LDNS_RD); -At line 50 we do the actual query. The ldns_resolver_query command returns ldns_pkt* structure, -with the reply from the nameserver. As we look at the function call, we see that we do a -query for a RR type 'MX' in the class 'IN' and we set the RD (recursion desired) flag on the -qeury. +At line 50 we do the actual query. The ldns_resolver_query() command +returns a ldns_pkt* structure, with the reply from the nameserver. As we +look at the function call, we see that we do a query for a RR type 'MX' in +the class 'IN' and we set the RD (recursion desired) flag on the query. 51 if (!p) { @@ -258,7 +258,7 @@ Here we sort the list and print it to stdout. This example shows that with a fairly short C program you can already do -complex tasks. +complex tasks.