summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-17 01:20:54 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-17 01:20:54 +0000
commit2b898d9bf4bb7c7579f2d1541df347a5ba3731c4 (patch)
treec86263541ee9ff3b335c6c2060264d5e99c01540 /src/log.cpp
parentgot rid of NOPACKED (struct alignment works now under Windows) (diff)
switched to system_category for boost::system_error
which works for linux and should work on windows as wellstrerror_r
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.cpp b/src/log.cpp
index 072f8c1..a09fe9b 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -53,8 +53,8 @@ std::ostream& operator<<(std::ostream& stream, LogGpgError const& value)
#endif
std::ostream& operator<<(std::ostream& stream, LogErrno const& value)
{
-// boost::system::system_error err(boost::system::error_code(value.err_,boost::system::get_system_category()));
- boost::system::system_error err(boost::system::error_code(value.err_,boost::system::get_posix_category()));
+ boost::system::system_error err(boost::system::error_code(value.err_,boost::system::get_system_category()));
+// boost::system::system_error err(boost::system::error_code(value.err_,boost::system::get_posix_category()));
return stream << err.what();
}