mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
Use user-defined literal for k, m, and g (powers of 1024)
This commit is contained in:
parent
8ba9b04747
commit
318c804504
99 changed files with 482 additions and 453 deletions
|
@ -206,7 +206,7 @@ void FtpConnectionTest::testReceiveMdtmResponse()
|
|||
|
||||
void FtpConnectionTest::testReceiveResponse_overflow()
|
||||
{
|
||||
char data[1024];
|
||||
char data[1_k];
|
||||
memset(data, 0, sizeof(data));
|
||||
memcpy(data, "213 ", 4);
|
||||
for(int i = 0; i < 64; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue