Changeset 95b66901b3f49ed5ae2b6563f0a84290f949c220

Show
Ignore:
Timestamp:
03/24/11 14:20:52 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1300976452 +0000
git-parent:

[209f83e3ef83c3eff2758218e4d4bd086e2955c8]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1300976452 +0000
Message:

fixes #359

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/dns.c

    rb553f9a r95b6690  
    380380static void decode_rr(struct dns_check_info *ci, struct dns_parse *p, 
    381381                      struct dns_rr *rr, char **output) { 
    382   char buff[DNS_MAXDN], *txt_str, *c; 
     382  char buff[DNS_MAXDN], *txt_str = buff, *c; 
    383383  u_int32_t ttl, vu; 
    384384  int32_t vs; 
     
    486486  } 
    487487  else 
    488     *output = strdup(buff); 
     488    *output = strdup(txt_str); 
    489489  ci->nrr++; 
    490490  return;