diff options
Diffstat (limited to 'third_party/libjingle/files/talk/base/httpcommon.h')
-rw-r--r-- | third_party/libjingle/files/talk/base/httpcommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libjingle/files/talk/base/httpcommon.h b/third_party/libjingle/files/talk/base/httpcommon.h index 2893933..fae39f9 100644 --- a/third_party/libjingle/files/talk/base/httpcommon.h +++ b/third_party/libjingle/files/talk/base/httpcommon.h @@ -169,7 +169,7 @@ bool HttpHasNthAttribute(HttpAttributeList& attributes, // Convert RFC1123 date (DoW, DD Mon YYYY HH:MM:SS TZ) to unix timestamp bool HttpDateToSeconds(const std::string& date, unsigned long* seconds); -inline const uint16 UrlDefaultPort(bool secure) { +inline uint16 UrlDefaultPort(bool secure) { return secure ? HTTP_SECURE_PORT : HTTP_DEFAULT_PORT; } |