Merge pull request #562 from hintjens/master

Removed tracing on router option setting
This commit is contained in:
Martin Hurton
2013-05-22 07:05:20 -07:00
2 changed files with 3 additions and 9 deletions

View File

@@ -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;
}