Cleanup and formatting

This commit is contained in:
Olof hagsand 2025-03-13 14:39:28 +01:00
parent 839077de57
commit d986ed423b
4 changed files with 5 additions and 9 deletions

View file

@ -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;

View file

@ -184,7 +184,7 @@ xpath_append(cbuf *cb0,
return retval;
}
/*! Insert (escaped) strings into expand coammnds
/*! Insert (escaped) strings into expand commands
*
* Help function to expand_dbvar
* Detect duplicates: for ordered-by system assume list is ordered, so you need