sprintf_alloc(&url, "%s/%s", pkg->src->value, pkg->filename);
sprintf_alloc(&url, "%s/%s", pkg->src->value, pkg->filename);
"../../foo.opk". While this is correct, and exactly what we
want to use to construct url above, here we actually need to
use just the filename part, without any directory. */
"../../foo.opk". While this is correct, and exactly what we
want to use to construct url above, here we actually need to
use just the filename part, without any directory. */