[lib-client] send_request(): handle null nb_pkt
This commit is contained in:
parent
e8332fd0f6
commit
9ddbfde5d5
|
@ -65,6 +65,9 @@ void owlclient_send_request(const int sockfd,
|
|||
{
|
||||
uint_fast16_t i ;
|
||||
|
||||
if (nb_pkt == 0)
|
||||
return ;
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Sent packets: ") ;
|
||||
#endif // DEBUG
|
||||
|
|
Loading…
Reference in New Issue