Closed TravisWhitaker closed 7 years ago
Take fs_upload() for example. It calls fopen, fwrite, and fclose without checking if any of those operations actually worked.
fs_upload()
fopen
fwrite
fclose
Ok, in that case it does check that it was able to open the file. But if it wasn't able to, it doesn't try to figure out why.
Got 'em.
Take
fs_upload()
for example. It callsfopen
,fwrite
, andfclose
without checking if any of those operations actually worked.