nvnet: Return `true' instead of `1' when returning a bool

This commit is contained in:
Matt Borgerson 2025-01-06 22:53:48 -07:00
parent 8687b152c9
commit 34fe7918d3
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ static void nvnet_send_packet(NvNetState *s, const uint8_t *buf, int size)
static bool nvnet_can_receive(NetClientState *nc) static bool nvnet_can_receive(NetClientState *nc)
{ {
NVNET_DPRINTF("nvnet_can_receive called\n"); NVNET_DPRINTF("nvnet_can_receive called\n");
return 1; return true;
} }
static ssize_t nvnet_receive(NetClientState *nc, static ssize_t nvnet_receive(NetClientState *nc,