mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-08 14:56:14 +01:00
Problem: identifiers not conformant with naming convention
Solution: fix identifier names
This commit is contained in:
committed by
Simon Giesecke
parent
18edd28955
commit
a83c57d0bb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user