Changeset b1dc403 for lib/oauth.c


Ignore:
Timestamp:
2015-05-04T21:58:50Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
5726a0d
Parents:
531eabd (diff), 5ca1416 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Catch up with master.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth.c

    r531eabd rb1dc403  
    9898        GSList *l, *n;
    9999
    100         if (params == NULL) {
     100        if (!params) {
    101101                return;
    102102        }
     
    104104        for (l = *params; l; l = n) {
    105105                n = l->next;
    106 
    107                 if (strncmp((char *) l->data, key, key_len) == 0 &&
    108                     ((char *) l->data)[key_len] == '=') {
    109                         g_free(l->data);
    110                         *params = g_slist_remove(*params, l->data);
     106                char *data = l->data;
     107
     108                if (strncmp(data, key, key_len) == 0 && data[key_len] == '=') {
     109                        *params = g_slist_remove(*params, data);
     110                        g_free(data);
    111111                }
    112112        }
Note: See TracChangeset for help on using the changeset viewer.