From: Richard Levitte Date: Wed, 13 Nov 2002 23:47:41 +0000 (+0000) Subject: Constification needed. X-Git-Tag: OpenSSL_0_9_6h~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff749aea447be08c0adddc9f1c280a34afd597ae;p=oweals%2Fopenssl.git Constification needed. PR: 241 --- 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