This commit is contained in:
Bob Halley 1999-02-02 01:43:47 +00:00
parent f0bbac2c0f
commit 8272eed68f
2 changed files with 4 additions and 4 deletions

View file

@ -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));

View file

@ -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));