summaryrefslogtreecommitdiff
path: root/src/htslib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htslib.h')
-rw-r--r--src/htslib.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/htslib.h b/src/htslib.h
index 9a5cac9..fcfce4b 100644
--- a/src/htslib.h
+++ b/src/htslib.h
@@ -148,12 +148,10 @@ struct OLD_htsblk {
typedef struct t_dnscache t_dnscache;
#endif
struct t_dnscache {
- struct t_dnscache *n;
- int host_length; // 4 normalement - ==0 alors en cours de résolution
- char host_addr[HTS_MAXADDRLEN]; // 4 octets (v4), ou 16 octets (v6)
- // ou >16 si sockaddr
- // ==-1 alors erreur (host n'éxiste pas)
- char iadr[1024];
+ struct t_dnscache *next;
+ const char *iadr;
+ size_t host_length; // length ; (4 or 16) ; 0 for error
+ char host_addr[HTS_MAXADDRLEN];
};
/* Library internal definictions */