core: set receive infor for sr event SREV_NET_DATA_IN
authorDaniel-Constantin Mierla <miconda@gmail.com>
Sat, 14 Oct 2017 08:43:45 +0000 (10:43 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Sat, 14 Oct 2017 08:43:45 +0000 (10:43 +0200)
src/core/receive.c

index 28c2c79..bb9342a 100644 (file)
@@ -149,6 +149,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
        inb.s = buf;
        inb.len = len;
        evp.data = (void*)&inb;
+       evp.rcv = rcv_info;
        sr_event_exec(SREV_NET_DATA_IN, &evp);
        len = inb.len;