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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user