mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Make the filename_to_url function static.
This commit is contained in:
parent
e0870ade30
commit
05b5c87558
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue