Skip to content

Commit

Permalink
Fixed NameAddrHeader.toString() when there is no display_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Feb 12, 2013
1 parent dc591d6 commit 458f8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NameAddrHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ JsSIP.NameAddrHeader.prototype = {
var body, parameter;

body = (this.display_name) ? '"' + this.display_name + '" ' : '';
body += (this.display_name) ? '<' + this.uri.toString() + '>' : this.uri.toString();
body += '<' + this.uri.toString() + '>';


for (parameter in this.parameters) {
Expand Down

0 comments on commit 458f8c7

Please sign in to comment.