aboutsummaryrefslogtreecommitdiff
path: root/src/core/options.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-02 11:54:33 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-02 11:54:33 -0800
commit9eb080db1c450228169cc58f14d946211378fcf7 (patch)
treefcbbe3840b25c9651badd75950599f65e82caf01 /src/core/options.c
parentcceda25b65423de694f34b3decc7812eb46a4c1e (diff)
downloadnng-9eb080db1c450228169cc58f14d946211378fcf7.tar.gz
nng-9eb080db1c450228169cc58f14d946211378fcf7.tar.bz2
nng-9eb080db1c450228169cc58f14d946211378fcf7.zip
Change msgqueue -> msgq.
Diffstat (limited to 'src/core/options.c')
-rw-r--r--src/core/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/options.c b/src/core/options.c
index b970a0e7..24d7a9eb 100644
--- a/src/core/options.c
+++ b/src/core/options.c
@@ -77,7 +77,7 @@ nni_getopt_int(int *ptr, void *val, size_t *sizep)
int
-nni_setopt_buf(nni_msgqueue *mq, const void *val, size_t sz)
+nni_setopt_buf(nni_msgq *mq, const void *val, size_t sz)
{
int len;
@@ -94,14 +94,14 @@ nni_setopt_buf(nni_msgqueue *mq, const void *val, size_t sz)
// size could be quite large indeed in this case.
return (NNG_EINVAL);
}
- return (nni_msgqueue_resize(mq, len));
+ return (nni_msgq_resize(mq, len));
}
int
-nni_getopt_buf(nni_msgqueue *mq, void *val, size_t *sizep)
+nni_getopt_buf(nni_msgq *mq, void *val, size_t *sizep)
{
- int len = nni_msgqueue_cap(mq);
+ int len = nni_msgq_cap(mq);
int sz = *sizep;