Cleanup and formatting
This commit is contained in:
parent
839077de57
commit
d986ed423b
4 changed files with 5 additions and 9 deletions
|
|
@ -275,11 +275,7 @@ backend_accept_client(int fd,
|
|||
#error "Need getsockopt O_PEERCRED or getpeereid for unix socket peer cred"
|
||||
#endif
|
||||
if (name != NULL){
|
||||
if ((ce->ce_username = name) == NULL){
|
||||
clixon_err(OE_UNIX, errno, "strdup");
|
||||
name = NULL;
|
||||
goto done;
|
||||
}
|
||||
ce->ce_username = name;
|
||||
name = NULL;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue