Commit f781eb7e authored by Martin Hurton's avatar Martin Hurton

Merge pull request #562 from hintjens/master

Removed tracing on router option setting
parents 13643b2a fbd1729c
...@@ -82,8 +82,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_, ...@@ -82,8 +82,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
} }
return 0; return 0;
} }
// DEBUGGING PROBLEM WITH TRAVIS CI
printf ("E: invalid option value (int=%d value=%d)\n", is_int, value);
break; break;
case ZMQ_ROUTER_MANDATORY: case ZMQ_ROUTER_MANDATORY:
...@@ -91,8 +89,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_, ...@@ -91,8 +89,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
mandatory = value; mandatory = value;
return 0; return 0;
} }
// DEBUGGING PROBLEM WITH TRAVIS CI
printf ("E: invalid option value (int=%d value=%d)\n", is_int, value);
break; break;
case ZMQ_ROUTER_ANNOUNCE_SELF: case ZMQ_ROUTER_ANNOUNCE_SELF:
...@@ -105,8 +101,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_, ...@@ -105,8 +101,6 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
default: default:
break; break;
} }
// DEBUGGING PROBLEM WITH TRAVIS CI
printf ("E: invalid option (option=%d)\n", option_);
errno = EINVAL; errno = EINVAL;
return -1; return -1;
} }
......
...@@ -92,7 +92,7 @@ int main (void) ...@@ -92,7 +92,7 @@ int main (void)
rc = zmq_close (to); rc = zmq_close (to);
assert (rc == 0); assert (rc == 0);
rc = zmq_ctx_term(context); rc = zmq_ctx_term (context);
assert (rc == 0); assert (rc == 0);
// TEST 2 // TEST 2
...@@ -157,7 +157,7 @@ int main (void) ...@@ -157,7 +157,7 @@ int main (void)
rc = zmq_close (to); rc = zmq_close (to);
assert (rc == 0); assert (rc == 0);
rc = zmq_ctx_term(context); rc = zmq_ctx_term (context);
assert (rc == 0); assert (rc == 0);
// TEST 3 // TEST 3
...@@ -232,6 +232,6 @@ int main (void) ...@@ -232,6 +232,6 @@ int main (void)
rc = zmq_close (frontend); rc = zmq_close (frontend);
assert (rc == 0); assert (rc == 0);
rc = zmq_ctx_term(context); rc = zmq_ctx_term (context);
assert (rc == 0); assert (rc == 0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment