Problem: identifiers not conformant with naming convention

Solution: fix identifier names
This commit is contained in:
Simon Giesecke
2019-12-08 14:21:43 +01:00
committed by Simon Giesecke
parent 18edd28955
commit a83c57d0bb
26 changed files with 209 additions and 209 deletions

View File

@@ -385,11 +385,11 @@ int zmq::ctx_t::get (int option_, void *optval_, size_t *optvallen_)
int zmq::ctx_t::get (int option_)
{
int optval_ = 0;
size_t optvallen_ = sizeof (int);
int optval = 0;
size_t optvallen = sizeof (int);
if (get (option_, &optval_, &optvallen_) == 0)
return optval_;
if (get (option_, &optval, &optvallen) == 0)
return optval;
errno = EINVAL;
return -1;