summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SASL/WindowsServicePrincipalName.cpp')
-rw-r--r--Swiften/SASL/WindowsServicePrincipalName.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/Swiften/SASL/WindowsServicePrincipalName.cpp b/Swiften/SASL/WindowsServicePrincipalName.cpp
index 419395c..6c87925 100644
--- a/Swiften/SASL/WindowsServicePrincipalName.cpp
+++ b/Swiften/SASL/WindowsServicePrincipalName.cpp
@@ -64,7 +64,7 @@ std::string WindowsServicePrincipalName::toString() {
64 firstCall = false; 64 firstCall = false;
65 } 65 }
66 66
67 SWIFT_LOG(debug) << "SPN: " << str << std::endl; 67 SWIFT_LOG(debug) << "SPN: " << str;
68 return str; 68 return str;
69} 69}
70 70
@@ -72,17 +72,17 @@ DWORD WindowsServicePrincipalName::dsMakeSpn(DWORD* length, wchar_t* value) {
72 DWORD status; 72 DWORD status;
73 73
74#ifdef UNICODE 74#ifdef UNICODE
75 SWIFT_LOG(debug) << "UNICODE is defined" << std::endl; 75 SWIFT_LOG(debug) << "UNICODE is defined";
76#else 76#else
77 SWIFT_LOG(debug) << "UNICODE is not defined" << std::endl; 77 SWIFT_LOG(debug) << "UNICODE is not defined";
78#endif 78#endif
79 79
80 SWIFT_LOG(debug) << "serviceClass_: " << convertWStringToString(serviceClass_.c_str()) << std::endl; 80 SWIFT_LOG(debug) << "serviceClass_: " << convertWStringToString(serviceClass_.c_str());
81 SWIFT_LOG(debug) << "serviceName_: " << convertWStringToString(serviceName_.c_str()) << std::endl; 81 SWIFT_LOG(debug) << "serviceName_: " << convertWStringToString(serviceName_.c_str());
82 SWIFT_LOG(debug) << "instanceName_: " << convertWStringToString(instanceName_.c_str()) << std::endl; 82 SWIFT_LOG(debug) << "instanceName_: " << convertWStringToString(instanceName_.c_str());
83 SWIFT_LOG(debug) << "referrer_: " << convertWStringToString(referrer_.c_str()) << std::endl; 83 SWIFT_LOG(debug) << "referrer_: " << convertWStringToString(referrer_.c_str());
84 SWIFT_LOG(debug) << "instancePort_: " << instancePort_ << std::endl; 84 SWIFT_LOG(debug) << "instancePort_: " << instancePort_;
85 SWIFT_LOG(debug) << "length: " << *length << std::endl; 85 SWIFT_LOG(debug) << "length: " << *length;
86 86
87 /* Call the Unicode function because that is recommended: 87 /* Call the Unicode function because that is recommended:
88https://msdn.microsoft.com/en-us/library/windows/desktop/ff381407%28v=vs.85%29.aspx */ 88https://msdn.microsoft.com/en-us/library/windows/desktop/ff381407%28v=vs.85%29.aspx */
@@ -97,7 +97,7 @@ https://msdn.microsoft.com/en-us/library/windows/desktop/ff381407%28v=vs.85%29.a
97 if (status != ERROR_SUCCESS) { 97 if (status != ERROR_SUCCESS) {
98 boost::system::error_code errorCode(status, boost::system::system_category()); 98 boost::system::error_code errorCode(status, boost::system::system_category());
99 99
100 SWIFT_LOG(debug) << std::hex << "status: 0x" << status << ": " << errorCode.message() << std::endl; 100 SWIFT_LOG(debug) << std::hex << "status: 0x" << status << ": " << errorCode.message();
101 } 101 }
102 102
103 return status; 103 return status;