mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Revert "Fix httpbf test."
This reverts commit 460c5b067d.
We need to use %u for unsigned in otder to avoid the '-' to many to
appear in the transferid
This commit is contained in:
parent
c61035f767
commit
698edcc1c0
@ -231,7 +231,7 @@ static char* get_transfer_url( hbf_transfer_t *transfer, int indx ) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if( sprintf(res, "%s-chunking-%d-%d-%d", transfer->url, transfer->transfer_id,
|
||||
if( sprintf(res, "%s-chunking-%u-%u-%u", transfer->url, transfer->transfer_id,
|
||||
transfer->block_cnt, indx ) < 0 ) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user