summaryrefslogtreecommitdiff
path: root/src/HttpRequest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-21 08:56:16 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-07-21 08:56:16 +0000
commit6574e44f886740273676b6d73ef754385a36197f (patch)
treec13b2c6f1bb178bc5adae67f47549ea6a86d7ec4 /src/HttpRequest.cc
parentcd6b6e359135f88afffbaa31c126489aa9813571 (diff)
2007-07-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Converted int's to in32_t. long long int's are also converted to int64_t
Diffstat (limited to 'src/HttpRequest.cc')
-rw-r--r--src/HttpRequest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpRequest.cc b/src/HttpRequest.cc
index 851ebdc5..603523d8 100644
--- a/src/HttpRequest.cc
+++ b/src/HttpRequest.cc
@@ -63,7 +63,7 @@ bool HttpRequest::isRangeSatisfied(const RangeHandle& range) const
}
}
-string HttpRequest::getHostText(const string& host, in_port_t port) const
+string HttpRequest::getHostText(const string& host, int32_t port) const
{
return host+(port == 80 || port == 443 ? "" : ":"+Util::llitos(port));
}