Skip to content
Snippets Groups Projects
Commit 6843a23f authored by rswindell's avatar rswindell
Browse files

Fix printf format bug in download status reports (log lines).

parent af86e3d5
No related branches found
No related tags found
No related merge requests found
......@@ -1405,7 +1405,7 @@ static void send_thread(void* arg)
str[0]=0;
lprintf(LOG_INFO,"%04d Sent %lu bytes (%lu total) of %s (%lu cps)%s"
,xfer.ctrl_sock,total,length,xfer.filename
,(total-last_total)/(now-last_report)
,(ulong)((total-last_total)/(now-last_report))
,str);
last_total=total;
last_report=now;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment