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
f781eb7e
Commit
f781eb7e
authored
May 22, 2013
by
Martin Hurton
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #562 from hintjens/master
Removed tracing on router option setting
parents
13643b2a
fbd1729c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
router.cpp
src/router.cpp
+0
-6
test_connect_delay.cpp
tests/test_connect_delay.cpp
+3
-3
No files found.
src/router.cpp
View file @
f781eb7e
...
...
@@ -82,8 +82,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
}
return
0
;
}
// DEBUGGING PROBLEM WITH TRAVIS CI
printf
(
"E: invalid option value (int=%d value=%d)
\n
"
,
is_int
,
value
);
break
;
case
ZMQ_ROUTER_MANDATORY
:
...
...
@@ -91,8 +89,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
mandatory
=
value
;
return
0
;
}
// DEBUGGING PROBLEM WITH TRAVIS CI
printf
(
"E: invalid option value (int=%d value=%d)
\n
"
,
is_int
,
value
);
break
;
case
ZMQ_ROUTER_ANNOUNCE_SELF
:
...
...
@@ -105,8 +101,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
default
:
break
;
}
// DEBUGGING PROBLEM WITH TRAVIS CI
printf
(
"E: invalid option (option=%d)
\n
"
,
option_
);
errno
=
EINVAL
;
return
-
1
;
}
...
...
tests/test_connect_delay.cpp
View file @
f781eb7e
...
...
@@ -92,7 +92,7 @@ int main (void)
rc
=
zmq_close
(
to
);
assert
(
rc
==
0
);
rc
=
zmq_ctx_term
(
context
);
rc
=
zmq_ctx_term
(
context
);
assert
(
rc
==
0
);
// TEST 2
...
...
@@ -157,7 +157,7 @@ int main (void)
rc
=
zmq_close
(
to
);
assert
(
rc
==
0
);
rc
=
zmq_ctx_term
(
context
);
rc
=
zmq_ctx_term
(
context
);
assert
(
rc
==
0
);
// TEST 3
...
...
@@ -232,6 +232,6 @@ int main (void)
rc
=
zmq_close
(
frontend
);
assert
(
rc
==
0
);
rc
=
zmq_ctx_term
(
context
);
rc
=
zmq_ctx_term
(
context
);
assert
(
rc
==
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