Ignore:
Timestamp:
2012-11-25T22:28:38Z (7 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
85cd12d
Parents:
67f6828
Message:

Have root confirm some commands that so far gave no feedback at all, since
"no news is good news" can be a little confusing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r67f6828 rb235228  
    11671167       
    11681168        json_value_free(parsed);
     1169       
     1170        if (req->flags & TWITTER_HTTP_USER_ACK)
     1171                twitter_log(ic, "Command processed successfully");
    11691172}
    11701173
     
    12131216        url = g_strdup_printf("%s%llu%s", TWITTER_STATUS_DESTROY_URL,
    12141217                              (unsigned long long) id, ".json");
    1215         twitter_http(ic, url, twitter_http_post, ic, 1, NULL, 0);
     1218        twitter_http_f(ic, url, twitter_http_post, ic, 1, NULL, 0,
     1219                       TWITTER_HTTP_USER_ACK);
    12161220        g_free(url);
    12171221}
     
    12221226        url = g_strdup_printf("%s%llu%s", TWITTER_STATUS_RETWEET_URL,
    12231227                              (unsigned long long) id, ".json");
    1224         twitter_http(ic, url, twitter_http_post, ic, 1, NULL, 0);
     1228        twitter_http_f(ic, url, twitter_http_post, ic, 1, NULL, 0,
     1229                       TWITTER_HTTP_USER_ACK);
    12251230        g_free(url);
    12261231}
     
    12361241        };
    12371242        args[1] = screen_name;
    1238         twitter_http(ic, TWITTER_REPORT_SPAM_URL, twitter_http_post,
    1239                      ic, 1, args, 2);
     1243        twitter_http_f(ic, TWITTER_REPORT_SPAM_URL, twitter_http_post,
     1244                       ic, 1, args, 2, TWITTER_HTTP_USER_ACK);
    12401245}
    12411246
     
    12481253        url = g_strdup_printf("%s%llu%s", TWITTER_FAVORITE_CREATE_URL,
    12491254                              (unsigned long long) id, ".json");
    1250         twitter_http(ic, url, twitter_http_post, ic, 1, NULL, 0);
     1255        twitter_http_f(ic, url, twitter_http_post, ic, 1, NULL, 0,
     1256                       TWITTER_HTTP_USER_ACK);
    12511257        g_free(url);
    12521258}
Note: See TracChangeset for help on using the changeset viewer.