review, found nothing, except for layout and typo

git-svn-id: file:///svn/unbound/trunk@2785 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Matthijs Mekking 2012-12-03 14:28:06 +00:00
parent e2786e481a
commit 5361b081d3
2 changed files with 4 additions and 4 deletions

View File

@ -1796,7 +1796,7 @@ outnet_serviced_query(struct outside_network* outnet,
struct service_callback* cb;
serviced_gen_query(buff, qname, qnamelen, qtype, qclass, flags);
sq = lookup_serviced(outnet, buff, dnssec, addr, addrlen);
/* duplicate entries are inclded in the callback list, because
/* duplicate entries are included in the callback list, because
* there is a counterpart registration by our caller that needs to
* be doubly-removed (with callbacks perhaps). */
if(!(cb = (struct service_callback*)malloc(sizeof(*cb))))

View File

@ -1068,9 +1068,9 @@ cfg_convert_timeval(const char* str)
int
cfg_count_numbers(const char* s)
{
/* format ::= (sp num)+ sp */
/* num ::= [-](0-9)+ */
/* sp ::= (space|tab)* */
/* format ::= (sp num)+ sp */
/* num ::= [-](0-9)+ */
/* sp ::= (space|tab)* */
int num = 0;
while(*s) {
while(*s && isspace((int)*s))