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