projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45ecb5
)
* src/textview.c
author
Luke Plant
<L.Plant.98@cantab.net>
Sat, 29 Nov 2003 13:59:58 +0000
(13:59 +0000)
committer
Luke Plant
<L.Plant.98@cantab.net>
Sat, 29 Nov 2003 13:59:58 +0000
(13:59 +0000)
fix compilation for non c99 compilers
src/textview.c
patch
|
blob
|
history
diff --git
a/src/textview.c
b/src/textview.c
index 8123a5de018f39c7e3026730e05deb7f7c8ea369..ed4530688dbfb318f6faad7ac2303c98a6a9cd3b 100644
(file)
--- 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))