Skip to content
Snippets Groups Projects
Commit dc82f9e6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Replaced read() and write() with recv() and send() for socket operations

even under normal unixes.
parent e60e7414
No related branches found
No related tags found
No related merge requests found
......@@ -125,8 +125,8 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
#else
#define sclose(x) close(x)
#define sread(x,y,z) read(x,y,z)
#define swrite(x,y,z) write(x,y,z)
#define sread(x,y,z) recv(x,y,z,0)
#define swrite(x,y,z) send(x,y,z,0)
#define myalarm(x) alarm(x)
#define PATH_CHAR ":"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment