mirror of
https://github.com/nmap/nmap.git
synced 2026-01-11 08:59:04 +00:00
Make the filename_to_url function static.
This commit is contained in:
@@ -176,7 +176,7 @@ int NmapOps::TimeSinceStartMS(struct timeval *now) {
|
||||
}
|
||||
|
||||
// Convert a filename to a file:// URL. The return value must be freed.
|
||||
char *filename_to_url(const char *filename) {
|
||||
static char *filename_to_url(const char *filename) {
|
||||
std::string url(filename);
|
||||
char percent_buffer[10];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user