Commit 8272eed6 authored by Bob Halley's avatar Bob Halley
Browse files

fix typo

parent f0bbac2c
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: sig_24.c,v 1.2 1999/01/29 08:04:13 marka Exp $ */ /* $Id: sig_24.c,v 1.3 1999/02/02 01:43:47 halley Exp $ */
/* RFC 2065 */ /* RFC 2065 */
...@@ -47,7 +47,7 @@ fromtext_sig(dns_rdataclass_t class, dns_rdatatype_t type, ...@@ -47,7 +47,7 @@ fromtext_sig(dns_rdataclass_t class, dns_rdatatype_t type,
result = dns_rdatatype_fromtext(&covered, tsr); result = dns_rdatatype_fromtext(&covered, tsr);
if (result != DNS_R_SUCCESS && result != DNS_R_NOTIMPLEMENTED) { if (result != DNS_R_SUCCESS && result != DNS_R_NOTIMPLEMENTED) {
covered = strtol(token.value.as_pointer, &e, 10); covered = strtol(token.value.as_pointer, &e, 10);
if (*e != NULL) if (e != NULL)
return (result); return (result);
} }
RETERR(uint16_tobuffer(covered, target)); RETERR(uint16_tobuffer(covered, target));
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: sig_24.h,v 1.2 1999/01/29 08:04:13 marka Exp $ */ /* $Id: sig_24.h,v 1.3 1999/02/02 01:43:47 halley Exp $ */
/* RFC 2065 */ /* RFC 2065 */
...@@ -47,7 +47,7 @@ fromtext_sig(dns_rdataclass_t class, dns_rdatatype_t type, ...@@ -47,7 +47,7 @@ fromtext_sig(dns_rdataclass_t class, dns_rdatatype_t type,
result = dns_rdatatype_fromtext(&covered, tsr); result = dns_rdatatype_fromtext(&covered, tsr);
if (result != DNS_R_SUCCESS && result != DNS_R_NOTIMPLEMENTED) { if (result != DNS_R_SUCCESS && result != DNS_R_NOTIMPLEMENTED) {
covered = strtol(token.value.as_pointer, &e, 10); covered = strtol(token.value.as_pointer, &e, 10);
if (*e != NULL) if (e != NULL)
return (result); return (result);
} }
RETERR(uint16_tobuffer(covered, target)); RETERR(uint16_tobuffer(covered, target));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment