mirror of
https://github.com/curl/curl.git
synced 2026-07-30 12:58:04 +03:00
tidy-up: replace (1 != expressions 1
This commit is contained in:
parent
656c1cae6a
commit
3b75d69dbb
3 changed files with 3 additions and 3 deletions
|
|
@ -481,7 +481,7 @@ static ssize_t write_behind(struct testcase *test, int convert)
|
|||
}
|
||||
/* formerly
|
||||
putc(c, file); */
|
||||
if(1 != write(test->ofile, &c, 1))
|
||||
if(write(test->ofile, &c, 1) != 1)
|
||||
break;
|
||||
skipit:
|
||||
prevchar = c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue