summaryrefslogtreecommitdiffstats
path: root/MacOS
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-13 23:47:31 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-13 23:47:31 +0000
commit738554331b1f61defa11e9ee49c7c63226b9f60a (patch)
tree1771831a1e571e965d0ef4399ebc3fc7a411cdb4 /MacOS
parent3f083ef0ebf33487d0493bb65523562144b49e38 (diff)
Constification needed.
PR: 241
Diffstat (limited to 'MacOS')
-rw-r--r--MacOS/GetHTTPS.src/MacSocket.cpp4
-rw-r--r--MacOS/GetHTTPS.src/MacSocket.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/MacOS/GetHTTPS.src/MacSocket.cpp b/MacOS/GetHTTPS.src/MacSocket.cpp
index 2726136347..c95d804d5d 100644
--- a/MacOS/GetHTTPS.src/MacSocket.cpp
+++ b/MacOS/GetHTTPS.src/MacSocket.cpp
@@ -1287,7 +1287,7 @@ EXITPOINT:
// 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;
int bytesSent = 0;
@@ -1604,4 +1604,4 @@ EPInfo* epi = (EPInfo*) context;
}
}
}
-*/ \ No newline at end of file
+*/
diff --git a/MacOS/GetHTTPS.src/MacSocket.h b/MacOS/GetHTTPS.src/MacSocket.h
index 6e90a5bb44..ad59dc9e4f 100644
--- a/MacOS/GetHTTPS.src/MacSocket.h
+++ b/MacOS/GetHTTPS.src/MacSocket.h
@@ -62,7 +62,7 @@ int MacSocket_recv(const int inSocketNum,void *outBuff,int outBuffLength,const B
// 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