summaryrefslogtreecommitdiff
path: root/src/WrFFrBuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/WrFFrBuf.c')
-rw-r--r--src/WrFFrBuf.c4
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;
}