mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
sal_impl.c: fix 200 OK header, proposed by Christian Spielberger
This commit is contained in:
parent
3df1f98d88
commit
2ccfd093d3
1 changed files with 1 additions and 1 deletions
|
|
@ -1033,7 +1033,7 @@ static void make_supported_header(Sal *sal){
|
|||
const char *tag=(const char*)it->data;
|
||||
size_t taglen=strlen(tag);
|
||||
if (alltags==NULL || (written+taglen+1>=buflen)) alltags=ms_realloc(alltags,(buflen=buflen*2));
|
||||
snprintf(alltags+written,buflen-written,it->next ? "%s, " : "%s",tag);
|
||||
written+=snprintf(alltags+written,buflen-written,it->next ? "%s, " : "%s",tag);
|
||||
}
|
||||
if (alltags){
|
||||
sal->supported=belle_sip_header_create("Supported",alltags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue