xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amass...@apache.org
Subject svn commit: r231011 - /xerces/c/branches/xerces-2.7/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp
Date Tue, 09 Aug 2005 08:05:05 GMT
Author: amassari
Date: Tue Aug  9 01:04:52 2005
New Revision: 231011

URL: http://svn.apache.org/viewcvs?rev=231011&view=rev
Log:
Unix version should use close(), not closesocket()

Modified:
    xerces/c/branches/xerces-2.7/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp

Modified: xerces/c/branches/xerces-2.7/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp?rev=231011&r1=231010&r2=231011&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp
(original)
+++ xerces/c/branches/xerces-2.7/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp
Tue Aug  9 01:04:52 2005
@@ -57,7 +57,7 @@
     int* get() const { return fData; }
     int* release() { int* p = fData; fData = 0; return p; }
 
-    void reset(int* p = 0) { if(fData) closesocket(*fData); fData=p; }
+    void reset(int* p = 0) { if(fData) close(*fData); fData=p; }
     bool isDataNull() { return (fData == 0); }
 
 private :



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org


Mime
View raw message