rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / desktop / gftp / patches / 08-url_prefix-null.patch
blobde6f0991d227563ce05e314d8a30115c408a6828
1 --- gftp-2.0.19/lib/cache.c.orig 2008-12-23 15:40:43.800541719 +0800
2 +++ gftp-2.0.19/lib/cache.c 2008-12-23 15:41:03.680208360 +0800
3 @@ -107,7 +107,7 @@
4 size_t len, int ignore_directory)
6 g_snprintf (description, len, "%s://%s@%s:%d%s",
7 - request->url_prefix,
8 + request->url_prefix == NULL ? "" : request->url_prefix,
9 request->username == NULL ? "" : request->username,
10 request->hostname == NULL ? "" : request->hostname,
11 request->port,