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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue