talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 5a17be4e9c4d338af21d62892e2c6572dbad9af5
parent a818718651ecb9621f0e0f18c7fdf9bd987229df
Author: Colin Leroy <colin@colino.net>
Date:   Sat,  3 May 2014 15:53:53 +0200

Make federated_url_for_address() return the same thing whether a
MISSING url is cached or not, and let caller choose the default in
this case.

Diffstat:
Msrc/plugins/libravatar/libravatar_federation.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/libravatar/libravatar_federation.c b/src/plugins/libravatar/libravatar_federation.c @@ -106,7 +106,7 @@ gchar *federated_url_for_address(const gchar *address) if (url != NULL) { g_free(addr); if (!strcmp(url, MISSING)) { - return g_strdup(libravatarprefs.base_url); + return NULL; } return g_strdup(url); }