sipsess_reject(): Content-Length
This commit is contained in:
parent
591a6570db
commit
d85aba9902
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ int sipsess_reject(struct sipsess *sess, uint16_t scode, const char *reason,
|
|||
|
||||
va_start(ap, fmt);
|
||||
err = sip_treplyf(&sess->st, NULL, sess->sip, sess->msg, false,
|
||||
scode, reason, "%v", fmt, &ap);
|
||||
scode, reason, fmt ? "%v" : NULL, fmt, &ap);
|
||||
va_end(ap);
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Add table
Reference in a new issue