Move uint8_t[] buffers into any_op_t/any_reply_t

This commit is contained in:
Vitaliy Filippov
2020-02-23 23:21:17 +03:00
parent d4fd9d982a
commit 72a89be912
8 changed files with 30 additions and 68 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ void handle_sigint(int sig)
int main(int narg, char *args[])
{
if (sizeof(osd_any_op_t) >= OSD_PACKET_SIZE ||
sizeof(osd_any_reply_t) >= OSD_PACKET_SIZE)
if (sizeof(osd_any_op_t) > OSD_PACKET_SIZE ||
sizeof(osd_any_reply_t) > OSD_PACKET_SIZE)
{
perror("BUG: too small packet size");
return 1;