Changes in lib/oauth.c [5ebff60:1493c4b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/oauth.c
r5ebff60 r1493c4b 98 98 GSList *l, *n; 99 99 100 if ( params == NULL) {100 if (!params) { 101 101 return; 102 102 } … … 104 104 for (l = *params; l; l = n) { 105 105 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); 111 111 } 112 112 }
Note: See TracChangeset
for help on using the changeset viewer.