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:
Olivier Goffart 2013-05-06 16:13:58 +02:00
parent c61035f767
commit 698edcc1c0

View file

@ -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;
}