summaryrefslogtreecommitdiff
path: root/src/WrFFrBuf.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:05 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:05 +0000
commitdf39054c869d26b1aeeaca958b54869521802712 (patch)
treef9ace3a7fc35498f101ec41da1d83edf47ccbd06 /src/WrFFrBuf.c
parentc3ba808aef8fcf59b04eb959e9958159648eae8a (diff)
Import changes from XORG-6.8.2CYGWIN-6_8_2-MERGECYGWIN
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;
}