]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/StoreMetaURL.cc
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 20 Storage Manager Swapfile Metadata */
12 #include "MemObject.h"
14 #include "StoreMetaURL.h"
17 StoreMetaURL::checkConsistency(StoreEntry
*e
) const
19 assert (getType() == STORE_META_URL
);
21 if (!e
->mem_obj
->hasUris())
24 if (strcasecmp(e
->mem_obj
->urlXXX(), (char *)value
)) {
25 debugs(20, DBG_IMPORTANT
, "storeClientReadHeader: URL mismatch");
26 debugs(20, DBG_IMPORTANT
, "\t{" << (char *) value
<< "} != {" << e
->mem_obj
->urlXXX() << "}");