version 1.77, 2011/07/08 06:37:57 |
version 1.78, 2011/08/20 20:37:31 |
|
|
/* First try in the new tree. */ |
/* First try in the new tree. */ |
so_find.cmd = cmd; |
so_find.cmd = cmd; |
so = RB_FIND(status_out_tree, &c->status_new, &so_find); |
so = RB_FIND(status_out_tree, &c->status_new, &so_find); |
if (so != NULL && so->out != NULL) |
if (so != NULL && so->out != NULL) { |
|
xfree(cmd); |
return (so->out); |
return (so->out); |
|
} |
|
|
/* If not found at all, start the job and add to the tree. */ |
/* If not found at all, start the job and add to the tree. */ |
if (so == NULL) { |
if (so == NULL) { |