57abc4eecd
- remove rpath and make some spec file changes for review (#225984) - remove old patches
13 lines
451 B
Diff
13 lines
451 B
Diff
diff -up lftp-3.5.14/src/FileCopy.cc.test lftp-3.5.14/src/FileCopy.cc
|
|
--- lftp-3.5.14/src/FileCopy.cc.test 2007-12-11 09:48:03.000000000 +0100
|
|
+++ lftp-3.5.14/src/FileCopy.cc 2007-12-11 09:48:36.000000000 +0100
|
|
@@ -514,6 +514,6 @@ const char *FileCopy::GetPercentDoneStr(
|
|
return "";
|
|
- static char buf[6];
|
|
+ static char buf[8];
|
|
- sprintf(buf,"(%d%%) ",pct);
|
|
+ snprintf(buf,8,"(%d%%) ",pct);
|
|
return buf;
|
|
}
|
|
float FileCopy::GetRate()
|