mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Update to r8614: another -D_FORTIFY_SOURCE=2 fix.
[originally from svn r8875]
[r8614 == 4bddcc2b5d
]
This commit is contained in:
parent
38714cecf3
commit
7198a148b5
@ -30,7 +30,8 @@ void printer_job_data(printer_job *pj, void *data, int len)
|
||||
if (!pj)
|
||||
return;
|
||||
|
||||
fwrite(data, 1, len, pj->fp);
|
||||
if (fwrite(data, 1, len, pj->fp) < len)
|
||||
/* ignore */;
|
||||
}
|
||||
|
||||
void printer_finish_job(printer_job *pj)
|
||||
|
Loading…
Reference in New Issue
Block a user