1
0
mirror of https://github.com/fluencelabs/redis synced 2025-06-28 16:31:33 +00:00

Modules hooks: fix define / linker issues. Implement one test event.

This commit is contained in:
antirez
2019-10-22 10:44:18 +02:00
parent d54652682d
commit 019ac37e9c
4 changed files with 42 additions and 37 deletions

@ -33,9 +33,6 @@
#include <dlfcn.h>
#include <sys/wait.h>
#define REDISMODULE_CORE 1
#include "redismodule.h"
/* --------------------------------------------------------------------------
* Private data structures used by the modules system. Those are data
* structures that are never exposed to Redis Modules, if not as void
@ -5769,7 +5766,7 @@ void moduleFireServerEvent(uint64_t eid, int subid, void *data) {
void *moduledata = NULL;
struct moduleClientInfoV1 civ1;
if (eid == REDISMODULE_EVENT_ID_CLIENT_CHANGE) {
if (eid == REDISMODULE_EVENT_CLIENT_CHANGE) {
modulePopulateClientInfoStructure(&civ1,data,
el->event.dataver);
}