diff options
author | Christian Pointner <equinox@anytun.org> | 2009-01-17 01:20:54 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-01-17 01:20:54 +0000 |
commit | 2b898d9bf4bb7c7579f2d1541df347a5ba3731c4 (patch) | |
tree | c86263541ee9ff3b335c6c2060264d5e99c01540 /src | |
parent | got 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')
-rw-r--r-- | src/log.cpp | 4 |
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(); } |