Revision 93e03976 monl/result_buffer.cpp
monl/result_buffer.cpp | ||
---|---|---|
82 | 82 |
if(mlSocketIDToString(sid, sidA_string, sizeof(sidA_string)) != 0) |
83 | 83 |
return -EFAILED; |
84 | 84 |
if(m->dst_socketid != NULL) { |
85 |
if(mlSocketIDToString(m->dst_socketid, sidB_string, sizeof(sidB_string)) != 0) |
|
85 |
if(mlSocketIDToString((SocketId) m->dst_socketid, sidB_string, sizeof(sidB_string)) != 0)
|
|
86 | 86 |
return -EFAILED; |
87 | 87 |
} |
88 | 88 |
if(*originator_name == NULL) |
... | ... | |
257 | 257 |
stats[WIN_MAX] = r; |
258 | 258 |
} |
259 | 259 |
|
260 |
circular_buffer[pos++] = r;
|
|
260 |
circular_buffer[pos] = r; |
|
261 | 261 |
circular_buffer_var[pos] = var_s; |
262 |
pos++; |
|
262 | 263 |
if(pos >= size) |
263 | 264 |
pos -= size; |
264 | 265 |
|
265 | 266 |
return EOK; |
266 |
}; |
|
267 |
}; |
Also available in: Unified diff