fixed skype buddies parsing

This commit is contained in:
HanzZ 2012-02-26 19:37:00 +01:00
parent fbb1060645
commit d6c5afab27

View file

@ -505,7 +505,7 @@ bool Skype::loadSkypeBuddies() {
// online status;friendly name;voicemail;mood
// (comma-seperated lines, usernames can have comma's)
for (int i=0; full_friends_list[i] && *full_friends_list[i] != '\0'; i+=8)
for (int i=0; full_friends_list[i] && full_friends_list[i+1] && *full_friends_list[i] != '\0'; i+=8)
{
std::string buddy = full_friends_list[i];