dav/sync.c

changeset 659
51206020cfbe
parent 650
14e7101d7604
child 661
1baec7ff8931
equal deleted inserted replaced
658:67c9f88b13c7 659:51206020cfbe
3695 int nblocks = filesize / blocksize; 3695 int nblocks = filesize / blocksize;
3696 int digits = LOG10((double)nblocks) + 1; 3696 int digits = LOG10((double)nblocks) + 1;
3697 if(digits > 127) { 3697 if(digits > 127) {
3698 fprintf(stderr, "Too many parts\n"); 3698 fprintf(stderr, "Too many parts\n");
3699 *err = 1; 3699 *err = 1;
3700 free(buffer);
3700 return NULL; 3701 return NULL;
3701 } 3702 }
3702 3703
3703 UcxMap *updated_parts_map = ucx_map_new((nblocks/2)+64); 3704 UcxMap *updated_parts_map = ucx_map_new((nblocks/2)+64);
3704 3705

mercurial