From c7c865da75c8ba2d7db2455e4a9ce273f54e197f Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Tue, 21 May 2013 18:52:44 +0200 Subject: [PATCH 1/2] Whitespace fixes --- tests/test_connect_delay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_connect_delay.cpp b/tests/test_connect_delay.cpp index e059ede1..b85aced1 100644 --- a/tests/test_connect_delay.cpp +++ b/tests/test_connect_delay.cpp @@ -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); } From fbd1729cbda254442c48c272f827c1f7bbaad551 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Wed, 22 May 2013 00:17:03 +0200 Subject: [PATCH 2/2] Removed tracing for Travis builds --- src/router.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/router.cpp b/src/router.cpp index c008e5d6..1f4065eb 100644 --- a/src/router.cpp +++ b/src/router.cpp @@ -81,8 +81,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: @@ -90,15 +88,11 @@ 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; default: break; } - // DEBUGGING PROBLEM WITH TRAVIS CI - printf ("E: invalid option (option=%d)\n", option_); errno = EINVAL; return -1; }