Skip to content

Commit 3cd1477

Browse files
committed
session server BUGFIX missing return
1 parent d7259c3 commit 3cd1477

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/session_server.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ nc_server_unix_get_socket_path(const struct nc_endpt *endpt)
483483
}
484484
if (!p) {
485485
ERR(NULL, "UNIX socket path mapping for endpoint \"%s\" not found.", endpt->name);
486+
return NULL;
486487
}
487488

488489
path = strdup(p);

0 commit comments

Comments
 (0)