diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2004-11-25 21:19:11 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2004-11-25 21:19:11 +0000 |
commit | 50986a34f231fbc7a4b62466bd89bd4ae4027d2e (patch) | |
tree | 99344977192a8fc0820713b562c704016da6554e /src/WrFFrBuf.c | |
parent | a983dafac59dcb425666a5a5556da4734e50c6c5 (diff) |
Fixes for CAN-2004-0914 (Thomas Biege).xprint_packagertest_20041125_basexprint_packagertest_20041125
Diffstat (limited to 'src/WrFFrBuf.c')
-rw-r--r-- | src/WrFFrBuf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WrFFrBuf.c b/src/WrFFrBuf.c index 3ed6685..a206b5c 100644 --- a/src/WrFFrBuf.c +++ b/src/WrFFrBuf.c @@ -32,6 +32,8 @@ * Developed by Arnaud Le Hors * \*****************************************************************************/ +/* October 2004, source code review by Thomas Biege <thomas@suse.de> */ + #include "XpmI.h" int @@ -49,7 +51,7 @@ XpmWriteFileFromBuffer(filename, buffer) fcheck = fwrite(buffer, len, 1, fp); fclose(fp); if (fcheck != 1) - return XpmOpenFailed; + return XpmOpenFailed; /* maybe use a better return value */ return XpmSuccess; } |