From: Luke Plant Date: Sat, 29 Nov 2003 13:59:58 +0000 (+0000) Subject: * src/textview.c X-Git-Tag: rel_0_9_8~58 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=bb177d44a60d44363317ec4ca6f4f32740a65418;hp=f45ecb5e2a3ceb66f03f8502831725a020f9e7fe * src/textview.c fix compilation for non c99 compilers --- diff --git a/src/textview.c b/src/textview.c index 8123a5de0..ed4530688 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1821,11 +1821,11 @@ static gboolean uri_security_check(RemoteURI *uri, TextView *textview) (!g_strncasecmp(clicked_str, "http:", 5) || !g_strncasecmp(clicked_str, "https:", 6) || !g_strncasecmp(clicked_str, "www.", 4))) { + gchar *str; retval = FALSE; /* allow uri->uri == http://somewhere.com and clicked_str == somewhere.com */ - gchar *str; str = g_strconcat("http://", clicked_str, NULL); if (!g_strcasecmp(str, uri->uri))