mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01:00
A couple of style nits.
This commit is contained in:
parent
6c10fc659a
commit
82326dcbe2
3
format.c
3
format.c
@ -218,8 +218,7 @@ format_job_get(struct format_tree *ft, const char *cmd)
|
||||
struct format_job fj0, *fj;
|
||||
|
||||
fj0.cmd = cmd;
|
||||
if ((fj = RB_FIND(format_job_tree, &format_jobs, &fj0)) == NULL)
|
||||
{
|
||||
if ((fj = RB_FIND(format_job_tree, &format_jobs, &fj0)) == NULL) {
|
||||
fj = xcalloc(1, sizeof *fj);
|
||||
fj->cmd = xstrdup(cmd);
|
||||
fj->status = ft->status;
|
||||
|
Loading…
Reference in New Issue
Block a user