1
0
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:
david
2008-09-29 21:50:34 +00:00
parent e0870ade30
commit 05b5c87558

View File

@@ -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];