aboutsummaryrefslogtreecommitdiff
path: root/src/dnsbase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsbase.c')
-rw-r--r--src/dnsbase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsbase.c b/src/dnsbase.c
index cf4b95a4..cbb658d0 100644
--- a/src/dnsbase.c
+++ b/src/dnsbase.c
@@ -246,9 +246,9 @@ struct loop_data {
/* Return data: */
char *hbuf; /* Return buffer */
size_t hbsize; /* Size of return buffer */
- size_t hbcount; /* ?? */
+ size_t hbcount; /* Number of items returned */
time_t ttl; /* TTL value */
dns_status status; /* Status */
int atype; /* On input: desired answer type or T_ANY
@@ -417,9 +417,9 @@ cname_loop_body(struct loop_data *lp)
SET_STATUS(lp, dns_success);
break;
case T_TXT:
- if (lp->atype != T_ANY && lp->atype != type)
+ if (lp->atype != type)
continue;
l = cp[0];
if (lp->hbcount + l >= lp->hbsize)
break;

Return to:

Send suggestions and report system problems to the System administrator.