Code Duplication    Length = 8-8 lines in 2 locations

main/inc/lib/magpierss/extlib/Snoopy.class.inc 2 locations

@@ 514-521 (lines=8) @@
511
					$this->_redirectaddr = $matches[2];
512
			}
513
		
514
			if(preg_match("|^HTTP/|",$currentHeader))
515
			{
516
                if(preg_match("|^HTTP/[^\s]*\s(.*?)\s|",$currentHeader, $status))
517
				{
518
					$this->status= $status[1];
519
                }				
520
				$this->response_code = $currentHeader;
521
			}
522
			
523
			if (preg_match("/Content-Encoding: gzip/", $currentHeader) ) {
524
				$is_gzipped = true;
@@ 693-700 (lines=8) @@
690
					$this->_redirectaddr = $matches[2];
691
			}
692
		
693
			if(preg_match("|^HTTP/|",$result_headers[$currentHeader]))
694
			{
695
			    $this->response_code = $result_headers[$currentHeader];
696
			    if(preg_match("|^HTTP/[^\s]*\s(.*?)\s|",$this->response_code, $match))
697
			    {
698
				$this->status= $match[1];
699
                	    }
700
			}
701
			$this->headers[] = $result_headers[$currentHeader];
702
		}
703