X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fslapi%2Fprintmsg.c;h=ae997e70a0689eb0d6bab86a3fbf18d4ba28fff1;hb=b508c611a6582fc9f23e0094b26a89b7c075131a;hp=87ff17ed40cffdfe0af7eb9022eb9482f929d58f;hpb=df5d69df8f20895172730d092503a5c2b2871aeb;p=openldap diff --git a/servers/slapd/slapi/printmsg.c b/servers/slapd/slapi/printmsg.c index 87ff17ed40..ae997e70a0 100644 --- a/servers/slapd/slapi/printmsg.c +++ b/servers/slapd/slapi/printmsg.c @@ -1,22 +1,31 @@ -/* - * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. - * COPYING RESTRICTIONS APPLY, see COPYRIGHT file +/* $OpenLDAP$ */ +/* This work is part of OpenLDAP Software . + * + * Copyright 2002-2011 The OpenLDAP Foundation. + * Portions Copyright 1997,2002-2003 IBM Corporation. + * All rights reserved. + * + * 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 + * . */ -/* - * (C) Copyright IBM Corp. 1997,2002 - * Redistribution and use in source and binary forms are permitted - * provided that this notice is preserved and that due credit is - * given to IBM Corporation. This software is provided ``as is'' - * without express or implied warranty. +/* ACKNOWLEDGEMENTS: + * This work was initially developed by IBM Corporation for use in + * IBM products and subsequently ported to OpenLDAP Software by + * Steve Omrani. */ #include -#include #include -#include -#include +#include +#include +#include #include -#include +#include #include #include @@ -27,11 +36,11 @@ /* Single threads access to routine */ ldap_pvt_thread_mutex_t slapi_printmessage_mutex; -const char *slapi_log_file = NULL; +char *slapi_log_file = NULL; int slapi_log_level = SLAPI_LOG_PLUGIN; int -vLogError( +slapi_int_log_error( int level, char *subsystem, char *fmt,