[Xorp-cvs] XORP cvs commit: xorp/libcomm

Bruce M Simpson bms@spc.org
Tue, 21 Jun 2005 12:28:05 +0100


On Mon, Jun 20, 2005 at 09:37:49PM +0000, Pavlin Radoslavov wrote:
> Log message:
> 	Compilation bug fix: the last argument to getpeername()
> 	should be a pointer to socklen_t instead of pointer to int.
> 	
> 	[Problem found on MacOS X 10.4 with gcc-4.0.]

This might need a conditional cast for Windows:-
	http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/send_2.asp