Changeset a244877 for protocols/twitter/twitter_lib.c
- Timestamp:
- 2016-04-17T09:32:27Z (9 years ago)
- Branches:
- master
- Children:
- 720f7a9
- Parents:
- 991c75f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
r991c75f ra244877 955 955 /* Check this is not a tweet that should be muted */ 956 956 uid_str = g_strdup_printf("%" PRIu64, status->user->uid); 957 if (getenv("BITLBEE_DEBUG")) { 958 GSList *item; 959 fprintf(stderr, "Checking mutes; this uid=%s\n", uid_str); 960 for (item = td->mutes_ids; item != NULL; item = item->next) { 961 fprintf(stderr, " id: %s\n", (char *)item->data); 962 } 963 } 957 964 958 if (g_slist_find_custom(td->mutes_ids, uid_str, (GCompareFunc)strcmp)) { 965 959 g_free(uid_str); … … 1164 1158 if ((found = g_slist_find_custom(td->mutes_ids, uid_str, 1165 1159 (GCompareFunc)strcmp))) { 1166 td->mutes_ids = g_slist_remove(td->mutes_ids, found); 1160 char *found_str = found->data; 1161 td->mutes_ids = g_slist_delete_link(td->mutes_ids, found); 1162 g_free(found_str); 1167 1163 } 1168 1164 g_free(uid_str);
Note: See TracChangeset
for help on using the changeset viewer.