diff options
author | Vincent Richard <[email protected]> | 2006-11-08 18:33:18 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2006-11-08 18:33:18 +0000 |
commit | f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef (patch) | |
tree | b3c8fa78d8b145ff04aca8b17a4a74dbc348cd15 /src/platforms/posix/posixSocket.cpp | |
parent | Fixed compilation problem with GCC 3.3. (diff) | |
download | vmime-f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef.tar.gz vmime-f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef.zip |
Imbue classic 'C' locale for the output of message parts and protocol commands.
Diffstat (limited to 'src/platforms/posix/posixSocket.cpp')
-rw-r--r-- | src/platforms/posix/posixSocket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platforms/posix/posixSocket.cpp b/src/platforms/posix/posixSocket.cpp index e63e4674..14f8f103 100644 --- a/src/platforms/posix/posixSocket.cpp +++ b/src/platforms/posix/posixSocket.cpp @@ -78,6 +78,8 @@ void posixSocket::connect(const vmime::string& address, const vmime::port_t port hints.ai_socktype = SOCK_STREAM; std::ostringstream portStr; + portStr.imbue(std::locale::classic()); + portStr << port; struct ::addrinfo* res0; |