diff options
author | Eion Robb <eion@robbmob.com> | 2008-07-22 08:58:25 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2008-07-22 08:58:25 +0400 |
commit | 1769253b72b77e36702a1b068ecb64245d0ee7ba (patch) | |
tree | 66a386a8ab66418fff8ca2bef6a2761ededba597 /skype_messaging_network.c | |
parent | 38ce2d70669701d332c49a0c2e65a4ae24b1bbb3 (diff) |
Added some more debug info for logging in and partial messages
Diffstat (limited to 'skype_messaging_network.c')
-rw-r--r-- | skype_messaging_network.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skype_messaging_network.c b/skype_messaging_network.c index 704fdb0..ea797c8 100644 --- a/skype_messaging_network.c +++ b/skype_messaging_network.c @@ -64,6 +64,7 @@ read_function_cb(gpointer data, gint source, PurpleInputCondition cond) { connected = TRUE; in_progress = FALSE; + skype_debug_info("skype", "Received: LOGIN\n"); } else { g_thread_create((GThreadFunc)skype_message_received, g_strdup(reply), FALSE, NULL); } @@ -71,6 +72,7 @@ read_function_cb(gpointer data, gint source, PurpleInputCondition cond) //check that we received part of a message if (strlen(reply_pieces[i])) { + skype_debug_info("skype", "Last piece: '%s'\n", reply_pieces[i]); response_string = g_string_new(reply_pieces[i]); } g_strfreev(reply_pieces); @@ -105,6 +107,7 @@ connect_function(gpointer data, gint source, const gchar *error_message) loginmsg = g_strdup_printf("LOGIN %s %s", acct->username, acct->password); send_message(loginmsg); + skype_debug_info("skype", "Sending: 'LOGIN {username} {password}'\n"); //send_message frees this //g_free(loginmsg); |