]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/ecap/MessageRep.cc
SourceLayout: shuffle StatusCode.h to http/StatusCode.h
[thirdparty/squid.git] / src / adaptation / ecap / MessageRep.cc
index 9e71ba618994ce9007db6fcabf1070baf8a70b22..ecdea7d70358aff448aa0fabf4ce28c72eeebcec 100644 (file)
@@ -99,7 +99,7 @@ Adaptation::Ecap::HeaderRep::parse(const Area &buf)
     MemBuf mb;
     mb.init();
     mb.append(buf.start, buf.size);
-    http_status error;
+    Http::StatusCode error;
     Must(theMessage.parse(&mb, true, &error));
 }
 
@@ -293,7 +293,7 @@ void
 Adaptation::Ecap::StatusLineRep::statusCode(int code)
 {
     // TODO: why is .status a enum? Do we not support unknown statuses?
-    theMessage.sline.status = static_cast<http_status>(code);
+    theMessage.sline.status = static_cast<Http::StatusCode>(code);
 }
 
 int