]> git.ipfire.org Git - thirdparty/squid.git/blame - compat/assert.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / compat / assert.cc
CommitLineData
6a4a7312 1/*
5b74111a 2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
6a4a7312 3 *
37be9888
AJ
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.
6a4a7312 7 */
8
f7f3304a 9#include "squid.h"
c3e67b7d 10
26ac0430
AJ
11void xassert(const char *expr, const char *file, int line)
12{
6a4a7312 13 fprintf(stderr, "assertion failed: %s:%d: \"%s\"\n", file, line, expr);
14 abort();
15}
f53969cc 16