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
8fb9d3c6
Commit
8fb9d3c6
authored
Jul 03, 2011
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:zeromq/libzmq
parents
6ae1be1a
c687c7e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
libzmq.vcproj
builds/msvc/libzmq/libzmq.vcproj
+8
-4
signaler.cpp
src/signaler.cpp
+3
-3
No files found.
builds/msvc/libzmq/libzmq.vcproj
View file @
8fb9d3c6
...
...
@@ -410,6 +410,10 @@
RelativePath=
"..\..\..\src\session.cpp"
>
</File>
<File
RelativePath=
"..\..\..\src\signaler.cpp"
>
</File>
<File
RelativePath=
"..\..\..\src\socket_base.cpp"
>
...
...
@@ -568,10 +572,6 @@
RelativePath=
"..\..\..\src\i_engine.hpp"
>
</File>
<File
RelativePath=
"..\..\..\src\i_inout.hpp"
>
</File>
<File
RelativePath=
"..\..\..\src\i_poll_events.hpp"
>
...
...
@@ -712,6 +712,10 @@
RelativePath=
"..\..\..\src\session.hpp"
>
</File>
<File
RelativePath=
"..\..\..\src\signaler.hpp"
>
</File>
<File
RelativePath=
"..\..\..\src\socket_base.hpp"
>
...
...
src/signaler.cpp
View file @
8fb9d3c6
...
...
@@ -134,7 +134,7 @@ void zmq::signaler_t::send ()
errno_assert
(
sz
==
sizeof
(
inc
));
#elif defined ZMQ_HAVE_WINDOWS
unsigned
char
dummy
=
0
;
int
nbytes
=
::
send
(
w
,
&
dummy
,
sizeof
(
dummy
),
0
);
int
nbytes
=
::
send
(
w
,
(
char
*
)
&
dummy
,
sizeof
(
dummy
),
0
);
wsa_assert
(
nbytes
!=
SOCKET_ERROR
);
zmq_assert
(
nbytes
==
sizeof
(
dummy
));
#else
...
...
@@ -219,8 +219,8 @@ void zmq::signaler_t::recv ()
zmq_assert
(
dummy
==
1
);
#else
unsigned
char
dummy
;
#if ZMQ_HAVE_WINDOWS
int
nbytes
=
::
recv
(
r
,
&
dummy
,
sizeof
(
dummy
),
0
);
#if
defined
ZMQ_HAVE_WINDOWS
int
nbytes
=
::
recv
(
r
,
(
char
*
)
&
dummy
,
sizeof
(
dummy
),
0
);
wsa_assert
(
nbytes
!=
SOCKET_ERROR
);
#else
ssize_t
nbytes
=
::
recv
(
r
,
&
dummy
,
sizeof
(
dummy
),
0
);
...
...
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