Skip to content
Snippets Groups Projects
Commit 63da505f authored by PeiYong Zhang's avatar PeiYong Zhang
Browse files

Bug# 10250: patch from James Berry

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173958 13f79535-47bb-0310-9956-ffa450edef68
parent d032d149
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,9 @@
/*
* $Log$
* Revision 1.4 2002/07/05 21:29:58 peiyongz
* Bug# 10250: patch from James Berry
*
* Revision 1.3 2002/07/05 21:25:20 peiyongz
* Bug# 10250: Implementation of new platform methods,
* patch from max@cca.usart.ru (Max Gotlib)
......@@ -347,7 +350,7 @@ void XMLPlatformUtils::writeBufferToFile( FileHandle const theFile
if ( !theFile || !toFlush )
ThrowXML(XMLPlatformUtilsException,
XMLExcepts::CPtr_PointerIsZero);
if ( (toWrite <= 0 ) || !*toFlush )
if ( toWrite <= 0 )
return;
const XMLByte* tmpFlush = (const XMLByte*) toFlush;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment