avoid short variable name
This commit is contained in:
parent
7d52aa1272
commit
538f8d040a
@ -94,10 +94,10 @@ Reply Reply::StockReply(Reply::status_type status) {
|
|||||||
rep.headers[0].value = "*";
|
rep.headers[0].value = "*";
|
||||||
rep.headers[1].name = "Content-Length";
|
rep.headers[1].name = "Content-Length";
|
||||||
|
|
||||||
std::string s;
|
std::string size_string;
|
||||||
intToString(rep.content.size(), s);
|
intToString(rep.content.size(), size_string);
|
||||||
|
|
||||||
rep.headers[1].value = s;
|
rep.headers[1].value = size_string;
|
||||||
rep.headers[2].name = "Content-Type";
|
rep.headers[2].name = "Content-Type";
|
||||||
rep.headers[2].value = "text/html";
|
rep.headers[2].value = "text/html";
|
||||||
return rep;
|
return rep;
|
||||||
|
Loading…
Reference in New Issue
Block a user