Removed our copy of mkstr, which has been moved to nbase.

This commit is contained in:
henri 2013-04-22 19:37:03 +00:00
parent b867fa4721
commit a687f70af3

View file

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