]> rtime.felk.cvut.cz Git - frescor/fna.git/blobdiff - src_rtep/rtep_fna_c.c
chan
[frescor/fna.git] / src_rtep / rtep_fna_c.c
index e442dbb6dce27896e953454c7196f1b3fc036411..0810a0e52f5452a92759aa944d4b2c2950489075 100644 (file)
@@ -732,11 +732,12 @@ int rtep_fna_receive_sync
 {
     rtep_priority_t prio;
     rtep_station_id_t rtep_from;
+    rtep_channel_t chan = (rtep_channel_t) endpoint->stream_id;
 
     // TODO: checks for errors
     rtep_recv_info
             (&rtep_from,
-             (rtep_channel_t) endpoint->stream_id,
+             chan,
              (uint8_t *) buffer,
              buffer_size,
              received_bytes,