1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-10 16:39:04 +00:00
Files
nmap/libdnet-stripped/src
vincent 900f015726 Silencing sizeof() warning
Here, the sizeof() function return the size of 'char *' instead of 
INTF_NAME_LEN. I replaced the use of the latter function by INTF_NAME_LEN 
(maximum size of the array intf_name). Here is the compiler warning output:

route-bsd.c:171:38: warning: sizeof on array function parameter will return 
size of 'char *' instead of 'char [16]' [-Wsizeof-array-argument] 
strlcpy(intf_name, namebuf, sizeof(intf_name));
2016-07-01 11:27:37 +00:00
..
2013-01-30 08:47:24 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2016-07-01 11:27:37 +00:00
2013-02-01 05:01:56 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00
2008-09-19 06:12:25 +00:00