- Timestamp:
- 2009-01-07T01:31:38Z (16 years ago)
- Branches:
- master
- Children:
- 607f5e3
- Parents:
- c35bf7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
rc35bf7a r2709f4c 780 780 } 781 781 782 static void skype_parse_password(struct im_connection *ic, char *line) 783 { 784 if (!strncmp(line+9, "OK", 2)) 785 imcb_connected(ic); 786 else { 787 imcb_error(ic, "Authentication Failed"); 788 imc_logout(ic, TRUE); 789 } 790 } 791 782 792 static gboolean skype_read_callback(gpointer data, gint fd, 783 793 b_input_condition cond) … … 816 826 skype_parse_chat(ic, line); 817 827 else if (!strncmp(line, "PASSWORD ", 9)) { 818 if (!strncmp(line+9, "OK", 2)) 819 imcb_connected(ic); 820 else { 821 imcb_error(ic, "Authentication Failed"); 822 imc_logout(ic, TRUE); 823 } 828 skype_parse_password(ic, line); 824 829 } else if (!strncmp(line, "PROFILE PSTN_BALANCE ", 21)) 825 830 imcb_log(ic, "SkypeOut balance value is '%s'.", line+21);
Note: See TracChangeset
for help on using the changeset viewer.