[shibboleth-sp2] 62/119: Logging fixes.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit 7a7c5af7ea64bad738b1c195e46b5121d99d99cb
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Sun Sep 16 03:30:29 2007 +0000
Logging fixes.
---
shib/shib-threads-win32.cpp | 4 ++--
shib/shib-threads.cpp | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/shib/shib-threads-win32.cpp b/shib/shib-threads-win32.cpp
index 8a48dd6..68213b2 100644
--- a/shib/shib-threads-win32.cpp
+++ b/shib/shib-threads-win32.cpp
@@ -31,13 +31,13 @@
#include "shib-threads.h"
#ifndef WIN32
-#error "This implementaiton is just for windows 32"
+#error "This implementation is only for Win32."
#endif
#include <stdexcept>
-using namespace std;
using namespace shibboleth;
+using namespace std;
// base error code for a routine to return onf failure
#define THREAD_ERROR_TIMEOUT (1)
diff --git a/shib/shib-threads.cpp b/shib/shib-threads.cpp
index db98d76..8841e36 100644
--- a/shib/shib-threads.cpp
+++ b/shib/shib-threads.cpp
@@ -25,22 +25,20 @@
#include "internal.h"
#include "shib-threads.h"
-#include <log4cpp/Category.hh>
-
#ifdef HAVE_PTHREAD
#include <pthread.h>
#ifndef HAVE_PTHREAD_RWLOCK_INIT
#include <synch.h>
#endif
#else
-#error "You need to create the proper thread implementation"
+#error "You need to create the proper thread implementation."
#endif
#include <stdexcept>
-using namespace std;
+using namespace shibboleth::logging;
using namespace shibboleth;
-using namespace log4cpp;
+using namespace std;
// pthread implementation of the Shib Target Threads API
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list