X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblber%2Fassert.c;h=36362c475c9cd08ef5191565bc1ff9ebc5f078d4;hb=f9797d3b914f8e8f83454ca99c7e8beb218ba566;hp=1ee56cc3e8465e894719244ef4908d40f3e93f28;hpb=f999e1350d0f0f18f6a7b297cb57db398f963878;p=openldap
diff --git a/libraries/liblber/assert.c b/libraries/liblber/assert.c
index 1ee56cc3e8..36362c475c 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-2010 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();