diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-29 14:17:11 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-09-22 12:33:03 -0700 |
| commit | f04cfd27e2d67b0fc89b079410fc11b55b6d1979 (patch) | |
| tree | b177a2fd79de4f1293e54e7a4d6990a135f0d65b /src/protocol/pipeline/pull.c | |
| parent | 72147bcfbdc568bc58877e0904b92013d82a2acd (diff) | |
| download | nng-f04cfd27e2d67b0fc89b079410fc11b55b6d1979.tar.gz nng-f04cfd27e2d67b0fc89b079410fc11b55b6d1979.tar.bz2 nng-f04cfd27e2d67b0fc89b079410fc11b55b6d1979.zip | |
Add improved getopt functions, pass integers by value.
Diffstat (limited to 'src/protocol/pipeline/pull.c')
| -rw-r--r-- | src/protocol/pipeline/pull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/pipeline/pull.c b/src/protocol/pipeline/pull.c index 0d66aab8..21c1613d 100644 --- a/src/protocol/pipeline/pull.c +++ b/src/protocol/pipeline/pull.c @@ -189,7 +189,7 @@ pull_sock_getopt(void *arg, int opt, void *buf, size_t *szp) int rv = NNG_ENOTSUP; if (opt == nng_optid_raw) { - rv = nni_getopt_int(&s->raw, buf, szp); + rv = nni_getopt_int(s->raw, buf, szp); } return (rv); } |
