X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblber%2Fassert.c;h=ad1c52a3fc38029c67fc5f31ba94c97997d2752b;hb=cba0d05a9dfd3cad69380e3ee2b492ddd7c7ca84;hp=1ee56cc3e8465e894719244ef4908d40f3e93f28;hpb=f999e1350d0f0f18f6a7b297cb57db398f963878;p=openldap diff --git a/libraries/liblber/assert.c b/libraries/liblber/assert.c index 1ee56cc3e8..ad1c52a3fc 100644 --- a/libraries/liblber/assert.c +++ b/libraries/liblber/assert.c @@ -1,18 +1,23 @@ -/* - * Copyright 1999 The OpenLDAP Foundation, Redwood City, California, USA +/* $OpenLDAP$ */ +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2011 The OpenLDAP Foundation. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted only - * as authorized by the OpenLDAP Public License. A copy of this - * license is available at http://www.OpenLDAP.org/license.html or - * in file LICENSE in the top-level directory of the distribution. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. + * + * A copy of this license is available in the file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . */ #include "portable.h" #ifdef LDAP_NEED_ASSERT -#include +#include /* * helper for our private assert() macro @@ -22,10 +27,11 @@ * issue for now. */ -void lber_pvt_assert(char* file, int line, char* test) +void +ber_pvt_assert( const char *file, int line, const char *test ) { fprintf(stderr, - "Assertion failed: %s, file %s, line %d\n", + _("Assertion failed: %s, file %s, line %d\n"), test, file, line); abort();