mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
missing/inet_ntop.c fix (GH #358)
The extra 'return (NULL)' is dead code.
This commit is contained in:
parent
6383b5c54a
commit
05baeecfff
@ -190,7 +190,6 @@ inet_ntop_v6 (const u_char *src, char *dst, size_t size)
|
||||
return (NULL);
|
||||
}
|
||||
return strcpy (dst, tmp);
|
||||
return (NULL);
|
||||
}
|
||||
#endif /* INET6 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user