aboutsummaryrefslogtreecommitdiff
path: root/src/core/endpt.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-06-22 17:23:29 -0700
committerGarrett D'Amore <garrett@damore.org>2017-06-22 17:23:29 -0700
commit34b110779fc29e82fc4bc4d48848d17a86fc2c26 (patch)
tree6897483a078ad93e2219e7c9a0e600533f039052 /src/core/endpt.h
parentc9fffa535275ca8b3d4afedf72cb503f909418e8 (diff)
downloadnng-34b110779fc29e82fc4bc4d48848d17a86fc2c26.tar.gz
nng-34b110779fc29e82fc4bc4d48848d17a86fc2c26.tar.bz2
nng-34b110779fc29e82fc4bc4d48848d17a86fc2c26.zip
Use ep_closed to track state (disambiguate name.)
Diffstat (limited to 'src/core/endpt.h')
-rw-r--r--src/core/endpt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/endpt.h b/src/core/endpt.h
index 3bc79fde..cfb332bb 100644
--- a/src/core/endpt.h
+++ b/src/core/endpt.h
@@ -28,7 +28,7 @@ struct nni_ep {
char ep_addr[NNG_MAXADDRLEN];
nni_thr ep_thr;
int ep_mode;
- int ep_close; // full shutdown
+ int ep_closed; // full shutdown
int ep_bound; // true if we bound locally
nni_mtx ep_mtx;
nni_cv ep_cv;