Code Duplication    Length = 4-6 lines in 2 locations

class/mail_parser.php 2 locations

@@ 760-763 (lines=4) @@
757
			if (substr($text,$end+$b_len,1)=="\n") {
758
				// '\n' => part boundary
759
				$this->part[$partcount]['start']=$end+$b_len+1;
760
				if ($partcount) {
761
					$this->part[$partcount-1]['ende']=$end-1;
762
					$this->multipartHeaders($partcount-1,$text);
763
				}
764
				$start=$end+$b_len+1;
765
				$partcount++;
766
			} else {
@@ 766-771 (lines=6) @@
763
				}
764
				$start=$end+$b_len+1;
765
				$partcount++;
766
			} else {
767
				// '--' => end boundary
768
				$this->part[$partcount-1]['ende']=$end-1;
769
				$this->multipartHeaders($partcount-1,$text);
770
				break;
771
			}
772
		}
773
	}
774
}