Constification needed.
authorRichard Levitte <levitte@openssl.org>
Wed, 13 Nov 2002 23:47:31 +0000 (23:47 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Nov 2002 23:47:31 +0000 (23:47 +0000)
PR: 241

MacOS/GetHTTPS.src/MacSocket.cpp
MacOS/GetHTTPS.src/MacSocket.h

index 272613634792c21f74aac587760e779b54240016..c95d804d5d4834409f122226c4a5552066441445 100644 (file)
@@ -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
+*/
index 6e90a5bb4476ac5eb393675bd9bc5b01305b3293..ad59dc9e4f9acaf16d3344edd22e2334c7ea2140 100644 (file)
@@ -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