commit | 11d142a3c68d27074fc8d711304499c6ff232516 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Jan 19 15:58:24 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jan 19 16:03:25 2016 +0100 |
tree | 2b324131148110b1baed6e94d74d0355bba9376e | |
parent | 5bb4662ad5edd4b853d866845588cecdc9c97367 [diff] [blame] |
session CHANGE server ctx locking Also some other bugfixes.
diff --git a/src/session_p.h b/src/session_p.h index 3fea38b..4592f2f 100644 --- a/src/session_p.h +++ b/src/session_p.h
@@ -112,6 +112,7 @@ struct nc_server_opts { struct ly_ctx *ctx; + pthread_mutex_t ctx_lock; NC_WD_MODE wd_basic_mode; int wd_also_supported; @@ -121,7 +122,7 @@ uint16_t idle_timeout; struct nc_bind { - char *address; + const char *address; uint16_t port; int sock; NC_TRANSPORT_IMPL ti;