X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fldapc%2B%2B%2Fsrc%2Fdebug.h;h=a2af50fc49b5f3f07f8bbb971f77ee2aaafb256d;hb=1c1b5ca0c4cc7da98beff036c0ab54042fe63899;hp=e9160befd2125371265945415e99583694c80128;hpb=e7dc46c01ec4bc610791b4cb69303ec95fc73eb2;p=openldap diff --git a/contrib/ldapc++/src/debug.h b/contrib/ldapc++/src/debug.h index e9160befd2..800de6891b 100644 --- a/contrib/ldapc++/src/debug.h +++ b/contrib/ldapc++/src/debug.h @@ -1,5 +1,6 @@ +// $OpenLDAP$ /* - * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -17,12 +18,12 @@ #define DEBUGLEVEL LDAP_DEBUG_ANY #define PRINT_FILE \ - cerr << "file: " __FILE__ << " line: " << __LINE__ + std::cerr << "file: " __FILE__ << " line: " << __LINE__ #ifdef WITH_DEBUG #define DEBUG(level, arg) \ if((level) & DEBUGLEVEL){ \ - cerr << arg ; \ + std::cerr << arg ; \ } #else #undef DEBUG