Fixed chat when adding third room.

This commit is contained in:
MelwareDE 2009-08-06 15:55:00 +00:00
parent 0456bcc90c
commit 57708ed431
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,11 @@
CHANGES
=======
HEAD
------------------
- use extended fax if available only and have fine resolution on receive activated by default
- fixed chat error on creating third chat-room
chan_capi-1.1.3
------------------
- fixed buffer length error with internal libcapi debug code.

View File

@ -389,8 +389,8 @@ static struct capichat_s *add_chat_member(char *roomname, struct capi_pvt *i, ro
room_mode = tmproom->room_mode;
break;
} else {
if (tmproom->number == roomnumber) {
roomnumber++;
if (tmproom->number >= roomnumber) {
roomnumber = tmproom->number + 1;
}
}
tmproom = tmproom->next;