diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-07-27 14:49:49 +0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-07-27 14:59:24 +0800 |
commit | b4480f333aed7f7f3bc75446a1a5010ba8df738c (patch) | |
tree | 8d584b66351519849aa4ebe26bbc91eed8b2ee96 /net-analyzer/chaosreader | |
parent | net-dns/libidn: Remove incorrect sub-SLOT. (diff) | |
download | gentoo-b4480f333aed7f7f3bc75446a1a5010ba8df738c.tar.gz gentoo-b4480f333aed7f7f3bc75446a1a5010ba8df738c.tar.bz2 gentoo-b4480f333aed7f7f3bc75446a1a5010ba8df738c.zip |
sourceforge: switch to https:// URIs
Diffstat (limited to 'net-analyzer/chaosreader')
-rw-r--r-- | net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch | 2 | ||||
-rw-r--r-- | net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch index 547af04db5b7..4d38eb17a2e6 100644 --- a/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch +++ b/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch @@ -5,7 +5,7 @@ $partnum++; $parttext = sprintf("%02d",$partnum); + -+ ## from http://sourceforge.net/tracker/?func=detail&aid=2019799&group_id=107384&atid=647491 ++ ## from https://sourceforge.net/tracker/?func=detail&aid=2019799&group_id=107384&atid=647491 + ### Chunk Check + if ( $http_header =~ /Transfer-Encoding: chunked/ ) { + my $new_http_data=""; diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch index 7f3ec2804dd4..db9d3c6fd158 100644 --- a/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch +++ b/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch @@ -6,7 +6,7 @@ } - $speed = sprintf("%.2f",$bytes / (1024 * $duration)); + # avoid division by zero -+ # from http://sourceforge.net/tracker/?func=detail&aid=2210488&group_id=107384&atid=647489 ++ # from https://sourceforge.net/tracker/?func=detail&aid=2210488&group_id=107384&atid=647489 + if ( $duration > 0 ) { + $speed = sprintf("%.2f",$bytes / (1024 * $duration)); + } |