JORTECallbackContext_t *callback_cont;
- // if the subscriber has been destroyed, return
+ // HACK: if the subscriber has been destroyed, return
if ((*(JORTECallbackContext_t **)recvCallBackParam) == 0)
return;
void *buffer;
int flag_ok = 0;
+ /* HACK: allocate space for callback context structure and than for a pointer to it */
+
// memory alocation
// don't forget use free() funct.!!
callback_cont = (JORTECallbackContext_t *)malloc(sizeof(JORTECallbackContext_t));