Changeset 95b66901b3f49ed5ae2b6563f0a84290f949c220
- Timestamp:
- 03/24/11 14:20:52
(2 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
| rb553f9a |
r95b6690 |
|
| 380 | 380 | static void decode_rr(struct dns_check_info *ci, struct dns_parse *p, |
|---|
| 381 | 381 | struct dns_rr *rr, char **output) { |
|---|
| 382 | | char buff[DNS_MAXDN], *txt_str, *c; |
|---|
| | 382 | char buff[DNS_MAXDN], *txt_str = buff, *c; |
|---|
| 383 | 383 | u_int32_t ttl, vu; |
|---|
| 384 | 384 | int32_t vs; |
|---|
| … | … | |
| 486 | 486 | } |
|---|
| 487 | 487 | else |
|---|
| 488 | | *output = strdup(buff); |
|---|
| | 488 | *output = strdup(txt_str); |
|---|
| 489 | 489 | ci->nrr++; |
|---|
| 490 | 490 | return; |
|---|