]>
Commit | Line | Data |
---|---|---|
6a4a7312 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 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 |
11 | void 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 |