|
From: | Ángel González |
Subject: | Re: [Bug-wget] Disable assertions by default |
Date: | Thu, 20 Nov 2014 21:26:00 +0100 |
User-agent: | Thunderbird |
On 20/11/14 15:29, Darshit Shah wrote:
--- a/src/progress.c +++ b/src/progress.c @@ -992,6 +992,7 @@ create_image (struct bar_progress *bp, double dl_total_time, bool done) { int percentage = 100.0 * size / bp->total_length; assert (percentage<= 100); + assert (false); if (percentage< 100) sprintf (p, "%3d%%", percentage); -- 2.1.3
Surely you didn't want to include this :)
[Prev in Thread] | Current Thread | [Next in Thread] |