Open GoogleCodeExporter opened 9 years ago
collection.lenght is undefined in:
SIPHeaderList.prototype.addAll =function(){
if(logger!=undefined) logger.debug("SIPHeaderList:addAll():arguments="+arguments.toString());
if(arguments.length==1)
{
var collection=arguments[0];
var length=this.hlist.length;
for(var i=0;i<collection.length;i++)
{
var n=i+length;
this.hlist[n]=collection[i];
}
if(this.hlist.length!=length)
{
return true;
}
else
{
return false;
}
Shouldn't it be collection.size() ?
Original comment by sergio.g...@gmail.com
on 7 May 2013 at 12:35
best is:
var collection=arguments[0].hlist;
Original comment by sergio.g...@gmail.com
on 7 May 2013 at 1:19
Original issue reported on code.google.com by
sergio.g...@gmail.com
on 7 May 2013 at 12:23