Ignore:
Timestamp:
2011-06-11T17:50:26Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4bc66ae
Parents:
de923d5
Message:

Change the default base_url to something that works. Change the default for
identi.ca to HTTPS while I'm at it. Pretty important since I can't use OAuth
for it yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    rde923d5 rc0f33f1  
    144144        static char *ret = NULL;
    145145        struct xt_parser *xp = NULL;
    146         struct xt_node *node;
     146        struct xt_node *node, *err;
    147147
    148148        g_free(ret);
     
    154154               
    155155                for (node = xp->root; node; node = node->next)
    156                         if ((node = xt_find_node(node->children, "error")) && node->text_len > 0) {
    157                                 ret = g_strdup_printf("%s (%s)", req->status_string, node->text);
     156                        if ((err = xt_find_node(node->children, "error")) && err->text_len > 0) {
     157                                ret = g_strdup_printf("%s (%s)", req->status_string, err->text);
    158158                                break;
    159159                        }
Note: See TracChangeset for help on using the changeset viewer.