mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:51:41 +03:00
delta: avoid potential zero division
Found by Codex Security Closes #20977
This commit is contained in:
parent
578ee6b79b
commit
c5daffe5f3
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ printf "New command line options: %d (total %d)\n",
|
|||
$noptions, $aoptions;
|
||||
printf "Changes logged: %d\n", $numchanges;
|
||||
printf "Bugfixes logged: %d (%.2f per day)\n",
|
||||
$numbugfixes, $numbugfixes / $days;
|
||||
$numbugfixes, $days ? $numbugfixes / $days : $numbugfixes;
|
||||
printf "Added files: %d (total %d)\n",
|
||||
$creates, $afiles;
|
||||
printf "Deleted files: %d (delta: %d)\n", $deletes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue