summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/chaosreader')
-rw-r--r--net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch2
-rw-r--r--net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch2
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));
+ }