We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaeb87e commit b6ad37aCopy full SHA for b6ad37a
src/session_server.c
@@ -2195,11 +2195,11 @@ nc_server_del_endpt_unix_socket(const char *endpt_name)
2195
struct nc_endpt *endpt = NULL;
2196
struct nc_bind *bind;
2197
2198
+ NC_CHECK_ARG_RET(NULL, endpt_name, );
2199
+
2200
/* CONFIG LOCK */
2201
pthread_rwlock_wrlock(&server_opts.config_lock);
2202
- NC_CHECK_ARG_RET(NULL, endpt_name, );
-
2203
for (i = 0; i < server_opts.endpt_count; i++) {
2204
if (!strcmp(server_opts.endpts[i].name, endpt_name)) {
2205
endpt = &server_opts.endpts[i];
0 commit comments