288 char *sz_uploaded_end = strchr(sz_uploaded, ' '); |
288 char *sz_uploaded_end = strchr(sz_uploaded, ' '); |
289 if (sz_uploaded_end) { |
289 if (sz_uploaded_end) { |
290 *sz_uploaded_end = 0; |
290 *sz_uploaded_end = 0; |
291 } |
291 } |
292 |
292 |
|
293 double progress = upload_progress(upload); |
|
294 ui_set(upload->progress, upload_progress(upload)); |
|
295 |
293 cxmutstr label1; |
296 cxmutstr label1; |
294 if (upload->total_files + upload->total_directories > 1) { |
297 if (upload->total_files + upload->total_directories > 1) { |
295 label1 = cx_asprintf( |
298 label1 = cx_asprintf( |
296 "%s/%s %zu/%zu files", |
299 "%s/%s %zu/%zu files", |
297 sz_uploaded, |
300 sz_uploaded, |