public
Description: A Clutter-based Twitter client
Homepage: http://live.gnome.org/Tweet
Clone URL: git://github.com/ebassi/tweet.git
Search Repo:
Print the buffer from Twitter

When getting a status and a user data structure, print out the
buffer returned by Twitter before feeding it to the parsers.
Emmanuele Bassi (author)
Tue Jun 17 13:49:29 -0700 2008
commit  17255a573addd0144a64c619df034730d1de70df
tree    b7c3148fe414b611fc7c72bb3bde6787fab77635
parent  7f3b6b4be5d284a8284be16d5e1daf23c471b6aa
...
580
581
582
 
 
 
583
584
585
...
966
967
968
 
 
969
970
971
...
580
581
582
583
584
585
586
587
588
...
969
970
971
972
973
974
975
976
0
@@ -580,6 +580,9 @@ get_status_cb (SoupSession *session,
0
 
0
       buffer = g_strndup (msg->response_body->data,
0
                           msg->response_body->length);
0
+
0
+ twitter_debug (closure_get_action_name (closure), buffer);
0
+
0
       if (G_UNLIKELY (!buffer))
0
         g_warning ("No data received");
0
       else
0
@@ -966,6 +969,8 @@ get_user_cb (SoupSession *session,
0
       buffer = g_strndup (msg->response_body->data,
0
                           msg->response_body->length);
0
 
0
+ twitter_debug (closure_get_action_name (closure), buffer);
0
+
0
       if (G_UNLIKELY (!buffer))
0
         g_warning ("No data received");
0
       else

Comments

    No one has commented yet.