Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
81aa6f45
Commit
81aa6f45
authored
Jul 27, 2015
by
evoskuil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style and explicitness.
parent
6f0efc09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
err.cpp
src/err.cpp
+3
-3
No files found.
src/err.cpp
View file @
81aa6f45
...
...
@@ -212,13 +212,13 @@ void zmq::win_error (char *buffer_, size_t buffer_size_)
{
DWORD
errcode
=
GetLastError
();
#if defined _WIN32_WCE
DWORD
rc
=
FormatMessage
(
FORMAT_MESSAGE_FROM_SYSTEM
|
DWORD
rc
=
FormatMessage
W
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_IGNORE_INSERTS
,
NULL
,
errcode
,
MAKELANGID
(
LANG_NEUTRAL
,
SUBLANG_DEFAULT
),
(
LPWSTR
)
buffer_
,
buffer_size_
/
sizeof
(
wchar_t
),
NULL
);
SUBLANG_DEFAULT
),
(
LPWSTR
)
buffer_
,
buffer_size_
/
sizeof
(
wchar_t
),
NULL
);
#else
DWORD
rc
=
FormatMessageA
(
FORMAT_MESSAGE_FROM_SYSTEM
|
FORMAT_MESSAGE_IGNORE_INSERTS
,
NULL
,
errcode
,
MAKELANGID
(
LANG_NEUTRAL
,
SUBLANG_DEFAULT
),
buffer_
,
(
DWORD
)
buffer_size_
,
NULL
);
SUBLANG_DEFAULT
),
buffer_
,
(
DWORD
)
buffer_size_
,
NULL
);
#endif
zmq_assert
(
rc
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment