mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Removed our copy of mkstr, which has been moved to nbase.
This commit is contained in:
parent
b867fa4721
commit
a687f70af3
1 changed files with 0 additions and 11 deletions
|
|
@ -166,17 +166,6 @@ void proxy_chain_context_delete(struct proxy_chain_context *ctx) {
|
|||
free(ctx);
|
||||
}
|
||||
|
||||
static char *mkstr(const char *start, const char *end) {
|
||||
char *s;
|
||||
|
||||
assert(end >= start);
|
||||
s = (char *) safe_malloc(end - start + 1);
|
||||
memcpy(s, start, end - start);
|
||||
s[end - start] = '\0';
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
static void uri_free(struct uri *uri) {
|
||||
if (uri->scheme)
|
||||
free(uri->scheme);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue