mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Update to r8614: another -D_FORTIFY_SOURCE=2 fix.
[originally from svn r8875] [r8614 == 4bddcc2b5dd6467ce9aa8bebea9ceedcda8903e5]
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)
|
if (!pj)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
fwrite(data, 1, len, pj->fp);
|
if (fwrite(data, 1, len, pj->fp) < len)
|
||||||
|
/* ignore */;
|
||||||
}
|
}
|
||||||
|
|
||||||
void printer_finish_job(printer_job *pj)
|
void printer_finish_job(printer_job *pj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user