- Timestamp:
- 11/27/09 09:51:15 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
apps/outlook/branches/1.5/DotTelSystem/DNS/DNSInputStream.cs
r577 r588 463 463 return null; 464 464 } 465 try 466 { 467 while (this.Position < end) 468 { 469 txtStr = txtStr + this.ReadString(); 470 } 471 } 472 catch (EndOfStreamException) { } 465 473 return new DNSTxtResourceRecord(ttl, txtStr); 466 474 } … … 521 529 private DNSNInfoResourceRecord ReadNInfo(long rrTTL, int rrDataLen) 522 530 { 523 string txtStr = ReadString(); 531 long end = this.Position + rrDataLen; 532 string txtStr = ""; 533 try 534 { 535 while (this.Position < end) 536 { 537 txtStr = txtStr + this.ReadString(); 538 } 539 } 540 catch (EndOfStreamException) { } 524 541 if (txtStr.Trim() == DNSStructuredKeywordsTxtResourceRecord.TXTTYPE 525 542 || txtStr.Trim() == DNSTxtServiceMessageResourceRecord.TXTTYPE)








