Fix MG_SEND_FUNC/MG_RECV_FUNC rename fail

PUBLISHED_FROM=da28a75111abb5fb49b122133a66ae9bdf63f474
This commit is contained in:
Marko Mikulicic committed 2015-10-30 18:38:39 +01:00
1 parent 57b35e6007
commit cbf968735a
2 files changed
+11 -11

No files matched your search

+4 -4
View File
@@ -605,11 +605,11 @@ typedef void *SSL_CTX;
#endif
#ifdef MG_USE_READ_WRITE
#define MG_EV_RECV_FUNC(s, b, l, f) read(s, b, l)
#define MG_EV_SEND_FUNC(s, b, l, f) write(s, b, l)
#define MG_RECV_FUNC(s, b, l, f) read(s, b, l)
#define MG_SEND_FUNC(s, b, l, f) write(s, b, l)
#else
#define MG_EV_RECV_FUNC(s, b, l, f) recv(s, b, l, f)
#define MG_EV_SEND_FUNC(s, b, l, f) send(s, b, l, f)
#define MG_RECV_FUNC(s, b, l, f) recv(s, b, l, f)
#define MG_SEND_FUNC(s, b, l, f) send(s, b, l, f)
#endif
#ifdef __cplusplus