~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright dates and documentation.
[adns]
/
src
/
types.c
diff --git
a/src/types.c
b/src/types.c
index
5cc2d15
..
43ccc2b
100644
(file)
--- a/
src/types.c
+++ b/
src/types.c
@@
-7,8
+7,8
@@
* Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
* Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
- * Copyright (C) 1997-
1999
Ian Jackson <ian@davenant.greenend.org.uk>
- * Copyright (C) 1999 Tony Finch <dot@dotat.at>
+ * Copyright (C) 1997-
2000
Ian Jackson <ian@davenant.greenend.org.uk>
+ * Copyright (C) 1999
-2000
Tony Finch <dot@dotat.at>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-552,14
+552,20
@@
static void mf_hostaddr(adns_query qu, void *datap) {
static adns_status csp_hostaddr(vbuf *vb, const adns_rr_hostaddr *rrp) {
const char *errstr;
adns_status st;
static adns_status csp_hostaddr(vbuf *vb, const adns_rr_hostaddr *rrp) {
const char *errstr;
adns_status st;
+ char buf[20];
int i;
st= csp_domain(vb,rrp->host); if (st) return st;
CSP_ADDSTR(" ");
int i;
st= csp_domain(vb,rrp->host); if (st) return st;
CSP_ADDSTR(" ");
- CSP_ADDSTR(adns_errabbrev(rrp->astatus));
+ CSP_ADDSTR(adns_err
type
abbrev(rrp->astatus));
+ sprintf(buf," %d ",rrp->astatus);
+ CSP_ADDSTR(buf);
+
+ CSP_ADDSTR(adns_errabbrev(rrp->astatus));
CSP_ADDSTR(" ");
CSP_ADDSTR(" ");
+
errstr= adns_strerror(rrp->astatus);
st= csp_qstring(vb,errstr,strlen(errstr)); if (st) return st;
errstr= adns_strerror(rrp->astatus);
st= csp_qstring(vb,errstr,strlen(errstr)); if (st) return st;