From b7d3dff7ea68460f1a3e5ce22331d622b4df4d76 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 3 Apr 2008 01:18:05 +0200 Subject: skype_read_callback(): handle a profile's balance --- skype/skype.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skype/skype.c b/skype/skype.c index a09476f1..7a677e86 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -871,6 +871,10 @@ static gboolean skype_read_callback( gpointer data, gint fd, b_input_condition c imc_logout( ic, TRUE ); } } + else if(!strncmp(line, "PROFILE PSTN_BALANCE ", 21)) + { + imcb_log(ic, "SkypeOut balance value is '%s'.", line+21); + } lineptr++; } g_strfreev(lines); -- cgit v1.2.3