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
a4b426b1
Commit
a4b426b1
authored
Apr 25, 2016
by
hitstergtd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: typos/trailing spaces in code comments
Solution: fix them
parent
fb015569
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
zmq.h
include/zmq.h
+1
-1
select.cpp
src/select.cpp
+3
-3
No files found.
include/zmq.h
View file @
a4b426b1
...
...
@@ -440,7 +440,7 @@ typedef struct zmq_pollitem_t
ZMQ_EXPORT
int
zmq_poll
(
zmq_pollitem_t
*
items
,
int
nitems
,
long
timeout
);
/******************************************************************************/
/* Poller polling on sockets,fd and threa
f
safe sockets */
/* Poller polling on sockets,fd and threa
d-
safe sockets */
/******************************************************************************/
#define ZMQ_HAVE_POLLER
...
...
src/select.cpp
View file @
a4b426b1
...
...
@@ -104,8 +104,8 @@ void zmq::select_t::rm_fd (handle_t handle_)
if
(
family_entry_it
!=
current_family_entry_it
)
{
// Family is not currently being iterated and can be safely
// modified in
palce. So later it can be skipped withour re-verifying
// its content.
// modified in
-place. So later it can be skipped without
//
re-verifying
its content.
fd_entries_t
::
iterator
fd_entry_it
;
for
(
fd_entry_it
=
family_entry
.
fd_entries
.
begin
();
fd_entry_it
!=
family_entry
.
fd_entries
.
end
();
++
fd_entry_it
)
...
...
@@ -453,7 +453,7 @@ u_short zmq::select_t::get_fd_family (fd_t fd_)
// AF_INET and AF_INET6 can be mixed in select
// TODO: If proven otherwise, should simply return addr.sa_family
if
(
rc
!=
SOCKET_ERROR
)
return
addr
.
ss_family
==
AF_INET6
?
AF_INET
:
addr
.
ss_family
;
return
addr
.
ss_family
==
AF_INET6
?
AF_INET
:
addr
.
ss_family
;
}
}
...
...
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