summaryrefslogtreecommitdiff
path: root/src/WrFFrBuf.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:24 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:24 +0000
commit5b2b384c319513d102de3e009e1816399d93b81a (patch)
treef215864d9e5c09faa8d1399349f02c724341e2de /src/WrFFrBuf.c
parent2773a7214e282f6f673483f5233b880505947c3f (diff)
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;
}