1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Update libpcap to 1.10.5

This commit is contained in:
dmiller
2025-04-14 19:06:54 +00:00
parent 2bc341de52
commit aed27d094e
141 changed files with 12626 additions and 9811 deletions

View File

@@ -11,7 +11,7 @@
* it been given an infinite-sized buffer.
*/
int
pcap_vasprintf(char **strp, const char *format, va_list args)
pcapint_vasprintf(char **strp, const char *format, va_list args)
{
char buf;
int len;
@@ -21,7 +21,7 @@ pcap_vasprintf(char **strp, const char *format, va_list args)
/*
* XXX - the C99 standard says, in section 7.19.6.5 "The
* nprintf function":
* snprintf function":
*
* The snprintf function is equivalent to fprintf, except that
* the output is written into an array (specified by argument s)
@@ -88,13 +88,13 @@ pcap_vasprintf(char **strp, const char *format, va_list args)
}
int
pcap_asprintf(char **strp, const char *format, ...)
pcapint_asprintf(char **strp, const char *format, ...)
{
va_list args;
int ret;
va_start(args, format);
ret = pcap_vasprintf(strp, format, args);
ret = pcapint_vasprintf(strp, format, args);
va_end(args);
return (ret);
}