aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/twitter/twitter.c')
-rw-r--r--protocols/twitter/twitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c
index ac0086af..7c96e9c3 100644
--- a/protocols/twitter/twitter.c
+++ b/protocols/twitter/twitter.c
@@ -468,7 +468,7 @@ int twitter_url_len_diff(gchar *msg, unsigned int target_len)
g_regex_match(regex, msg, 0, &match_info);
while (g_match_info_matches(match_info)) {
- gchar *s, *url;
+ gchar *url;
url = g_match_info_fetch(match_info, 2);
url_len_diff += target_len - g_utf8_strlen(url, -1);