summaryrefslogtreecommitdiff
path: root/src/WrFFrBuf.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2004-11-25 21:19:11 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2004-11-25 21:19:11 +0000
commit50986a34f231fbc7a4b62466bd89bd4ae4027d2e (patch)
tree99344977192a8fc0820713b562c704016da6554e /src/WrFFrBuf.c
parenta983dafac59dcb425666a5a5556da4734e50c6c5 (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;
}