mirror of
https://github.com/cryb-to/cryb-to.git
synced 2025-01-03 02:11:10 +00:00
&& is subject to shortcut evaluation, so the second test will not run
if the first failed. The ultimate outcome is the same, but using & instead ensures that, when in verbose mode, we also get output from the second test.
This commit is contained in:
parent
063197ed28
commit
c658232e3e
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ t_strlcat(char **desc CRYB_UNUSED, void *arg)
|
|||
}
|
||||
ret = t_compare_sz(t->sz, sz);
|
||||
if (t->out != NULL)
|
||||
ret = ret && t_compare_str(t->out, buf);
|
||||
ret &= t_compare_str(t->out, buf);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue