summaryrefslogtreecommitdiff
path: root/sockcompat.c
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-23 01:21:46 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-23 01:21:46 +0100
commitbb3475e8eb379ee18f3d8f37caa8040b852a6213 (patch)
tree89975f1c23814a7ab5e16f5c7887f55f1888a27a /sockcompat.c
parentaee72918851db8af296e096b759dfb7aaea17968 (diff)
all: rename redis -> redict symbols and commentsmaster
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'sockcompat.c')
-rw-r--r--sockcompat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sockcompat.c b/sockcompat.c
index 850e8ed..6c82cce 100644
--- a/sockcompat.c
+++ b/sockcompat.c
@@ -9,7 +9,7 @@
*
*/
-#define REDIS_SOCKCOMPAT_IMPLEMENTATION
+#define REDICT_SOCKCOMPAT_IMPLEMENTATION
#include "sockcompat.h"
#ifdef _WIN32
@@ -242,7 +242,7 @@ int win32_poll(struct pollfd *fds, nfds_t nfds, int timeout) {
return ret != SOCKET_ERROR ? ret : -1;
}
-int win32_redisKeepAlive(SOCKET sockfd, int interval_ms) {
+int win32_redictKeepAlive(SOCKET sockfd, int interval_ms) {
struct tcp_keepalive cfg;
DWORD bytes_in;
int res;