Changeset 9456255


Ignore:
Timestamp:
2016-02-10T02:05:55Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
242f280, c6bc434
Parents:
4543356c
git-author:
Vegard Langås <sjefen6@…> (09-02-16 20:17:41)
git-committer:
dequis <dx@…> (10-02-16 02:05:55)
Message:

Change twitter url length to 23 instead of 22

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r4543356c r9456255  
    474474                url_len_diff += target_len - g_utf8_strlen(url, -1);
    475475
    476                 /* Add another character for https://t.co/... URLs */
    477                 if ((s = g_match_info_fetch(match_info, 3))) {
    478                         url_len_diff += 1;
    479                         g_free(s);
    480                 }
    481476                g_free(url);
    482477                g_match_info_next(match_info, NULL);
     
    541536        if (strcmp(acc->prpl->name, "twitter") == 0) {
    542537                def_url = TWITTER_API_URL;
    543                 def_tul = "22";
     538                def_tul = "23";
    544539                def_mentions = "true";
    545540        } else {                /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */
Note: See TracChangeset for help on using the changeset viewer.