From 86af851d4c6062e67d591b6a6825798e915a71f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Mon, 27 Oct 2008 22:36:41 +0100 Subject: [PATCH] Don't doublicate the "." in cached filenames --- katze/katze-net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5