mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:00:00 -04:00
fix typo
This commit is contained in:
parent
f0bbac2c0f
commit
8272eed68f
2 changed files with 4 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* 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 */
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ fromtext_sig(dns_rdataclass_t class, dns_rdatatype_t type,
|
|||
result = dns_rdatatype_fromtext(&covered, tsr);
|
||||
if (result != DNS_R_SUCCESS && result != DNS_R_NOTIMPLEMENTED) {
|
||||
covered = strtol(token.value.as_pointer, &e, 10);
|
||||
if (*e != NULL)
|
||||
if (e != NULL)
|
||||
return (result);
|
||||
}
|
||||
RETERR(uint16_tobuffer(covered, target));
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* 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 */
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ fromtext_sig(dns_rdataclass_t class, dns_rdatatype_t type,
|
|||
result = dns_rdatatype_fromtext(&covered, tsr);
|
||||
if (result != DNS_R_SUCCESS && result != DNS_R_NOTIMPLEMENTED) {
|
||||
covered = strtol(token.value.as_pointer, &e, 10);
|
||||
if (*e != NULL)
|
||||
if (e != NULL)
|
||||
return (result);
|
||||
}
|
||||
RETERR(uint16_tobuffer(covered, target));
|
||||
|
|
|
|||
Loading…
Reference in a new issue