Skip to content

Commit 3bb5696

Browse files
committed
server config BUGFIX typo
1 parent 4fcd02e commit 3bb5696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3898,7 +3898,7 @@ nc_server_config_unix(const struct lyd_node *node, enum nc_operation op)
38983898
if (op == NC_OP_CREATE) {
38993899
endpt->ti = NC_TI_UNIX;
39003900
endpt->opts.unix = calloc(1, sizeof *endpt->opts.unix);
3901-
NC_CHECK_ERRMEM_RET(!endpt->opts.ssh, 1);
3901+
NC_CHECK_ERRMEM_RET(!endpt->opts.unix, 1);
39023902

39033903
/* set non-zero default values */
39043904
endpt->opts.unix->uid = (uid_t)-1;

0 commit comments

Comments
 (0)