summaryrefslogtreecommitdiff
path: root/ares_parse_srv_reply.3
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-09-05 15:12:30 +0000
committerGunter Knauf <gk@gknw.de>2009-09-05 15:12:30 +0000
commit091393e79ce1f2042c6f8febd70232dbcf3da95e (patch)
tree8f4f477683cd2c2a5ac30625739cc0ca29cd12e0 /ares_parse_srv_reply.3
parent6616621ffeff1d12b04627aa4ba98dee9187ce57 (diff)
downloadc-ares-091393e79ce1f2042c6f8febd70232dbcf3da95e.tar.gz
c-ares-091393e79ce1f2042c6f8febd70232dbcf3da95e.tar.bz2
c-ares-091393e79ce1f2042c6f8febd70232dbcf3da95e.zip
changed u_int16_t to unsigned short because it is the only place within ares and curl where such a type would be used;
also it broke many autobuilds. We should probably introduce an ares_port_t if we want to use a type here.
Diffstat (limited to 'ares_parse_srv_reply.3')
-rw-r--r--ares_parse_srv_reply.36
1 files changed, 3 insertions, 3 deletions
diff --git a/ares_parse_srv_reply.3 b/ares_parse_srv_reply.3
index 8f3edf4..a83d480 100644
--- a/ares_parse_srv_reply.3
+++ b/ares_parse_srv_reply.3
@@ -49,9 +49,9 @@ contains the following fields:
.in +4n
.nf
struct srv_reply {
- u_int16_t weight;
- u_int16_t priority;
- u_int16_t port;
+ unsigned short weight;
+ unsigned short priority;
+ unsigned short port;
char *host;
};
.fi