From: Enrico Tröger Date: Mon, 27 Oct 2008 21:36:41 +0000 (+0100) Subject: Don't doublicate the "." in cached filenames X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86af851d4c6062e67d591b6a6825798e915a71f2;p=midori Don't doublicate the "." in cached filenames --- diff --git a/katze/katze-net.c b/katze/katze-net.c index a46913db..efe3b603 100644 --- a/katze/katze-net.c +++ b/katze/katze-net.c @@ -147,8 +147,8 @@ katze_net_get_cached_path (KatzeNet* net, #endif extension = g_strrstr (uri, "."); - cached_filename = g_strdup_printf ("%s%s%s", checksum, - extension ? "." : "", extension ? extension : ""); + cached_filename = g_strdup_printf ("%s%s", checksum, + extension ? extension : ""); g_free (checksum); cached_path = g_build_filename (cache_path, cached_filename, NULL); g_free (cached_filename);