Menu

#31 little bug in XmlRpcSource.cpp

open
5
2008-10-08
2008-10-08
No

Compilation of XmlRpcSource.cpp complains about "-1" under Windows (in particular, in Cygwin) where Socket should be either unsigned __int64 or

unsigned int.

I think these changes could be introduced (into CVS) to fix:

if (_fd != (XmlRpcSocket::Socket)-1)
{
XmlRpcUtil::log(2,"XmlRpcSource::close: closing socket %d.", _fd);
XmlRpcSocket::close(_fd);
_fd = (XmlRpcSocket::Socket)-1;
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.