]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/log/access_log.cc
SourceLayout: shuffle StatusCode.h to http/StatusCode.h
[thirdparty/squid.git] / src / log / access_log.cc
index a9907257c1bd2c24f7eef9669e8093340f5491d6..b4775bf9ca7a366ebfc9eba3a442b2b4a3fe939f 100644 (file)
@@ -253,7 +253,7 @@ HierarchyLogEntry::HierarchyLogEntry() :
         cd_lookup(LOOKUP_NONE),
         n_choices(0),
         n_ichoices(0),
-        peer_reply_status(HTTP_STATUS_NONE),
+        peer_reply_status(Http::scNone),
         peer_response_time(-1),
         total_response_time(-1),
         tcpServer(NULL),
@@ -569,7 +569,7 @@ headersLog(int cs, int pq, const HttpRequestMethod& method, void *data)
     if (0 == pq)
         S = (unsigned short) rep->sline.status;
     else
-        S = (unsigned short) HTTP_STATUS_NONE;
+        S = (unsigned short) Http::scNone;
 
     logfileWrite(headerslog, &magic, sizeof(magic));
     logfileWrite(headerslog, &M, sizeof(M));