now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
||||
ssize_t socket_fastopen_connect4(int s,const char* ip,uint16 port,const char* buf,size_t len) {
|
||||
ssize_t socket_fastopen_connect4(int s,const char ip[4],uint16 port,const char* buf,size_t len) {
|
||||
int r;
|
||||
#ifndef MSG_FASTOPEN
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user