Constification needed.
PR: 241
This commit is contained in:
parent
3f083ef0eb
commit
738554331b
@ -1287,7 +1287,7 @@ EXITPOINT:
|
|||||||
|
|
||||||
// Send some bytes
|
// Send some bytes
|
||||||
|
|
||||||
int MacSocket_send(const int inSocketNum,void *inBuff,int inBuffLength)
|
int MacSocket_send(const int inSocketNum,const void *inBuff,int inBuffLength)
|
||||||
{
|
{
|
||||||
OSErr errCode = noErr;
|
OSErr errCode = noErr;
|
||||||
int bytesSent = 0;
|
int bytesSent = 0;
|
||||||
|
@ -62,7 +62,7 @@ int MacSocket_recv(const int inSocketNum,void *outBuff,int outBuffLength,const B
|
|||||||
|
|
||||||
// Call this to send data on a socket
|
// Call this to send data on a socket
|
||||||
|
|
||||||
int MacSocket_send(const int inSocketNum,void *inBuff,int inBuffLength);
|
int MacSocket_send(const int inSocketNum,const void *inBuff,int inBuffLength);
|
||||||
|
|
||||||
|
|
||||||
// If zero bytes were read in a call to MacSocket_recv(), it may be that the remote end has done a half-close
|
// If zero bytes were read in a call to MacSocket_recv(), it may be that the remote end has done a half-close
|
||||||
|
Loading…
x
Reference in New Issue
Block a user