From 7e2faf3bdf0e04846ffb8265fed6dbf454471c89 Mon Sep 17 00:00:00 2001 From: karlr42 Date: Thu, 6 Mar 2014 15:23:02 +0000 Subject: [PATCH] Better formatting. --- Net/src/HTTPCookie.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Net/src/HTTPCookie.cpp b/Net/src/HTTPCookie.cpp index 3a34781cf..f7907505a 100644 --- a/Net/src/HTTPCookie.cpp +++ b/Net/src/HTTPCookie.cpp @@ -119,7 +119,7 @@ HTTPCookie::HTTPCookie(const NameValueCollection& nvc): int tzd; DateTime exp = DateTimeParser::parse(value, tzd); Timestamp now; - setMaxAge((int) ((exp.timestamp() - now)/Timestamp::resolution())); + setMaxAge((int) ((exp.timestamp() - now) / Timestamp::resolution())); } else if (icompare(name, "version") == 0) { @@ -275,7 +275,7 @@ std::string HTTPCookie::toString() const if (_maxAge != -1) { Timestamp ts; - ts += _maxAge*Timestamp::resolution(); + ts += _maxAge * Timestamp::resolution(); result.append("; expires="); DateTimeFormatter::append(result, ts, DateTimeFormat::HTTP_FORMAT); }