application/upload.c

changeset 90
f501f0efc9a8
parent 87
5360027fb282
child 91
7ee944cf53de
equal deleted inserted replaced
89:2fbb3cac05a5 90:f501f0efc9a8
358 f->bytes = s.st_size; 358 f->bytes = s.st_size;
359 upload->progress.total_files++; 359 upload->progress.total_files++;
360 upload->progress.total_bytes += s.st_size; 360 upload->progress.total_bytes += s.st_size;
361 ui_threadpool_job(upload->queue, upload->dialog, qthr_file_upload, f, uithr_file_uploaded, f); 361 ui_threadpool_job(upload->queue, upload->dialog, qthr_file_upload, f, uithr_file_uploaded, f);
362 } 362 }
363 } else {
364 // cannot stat file
365
363 } 366 }
364 } // TODO: else error msg 367 } // TODO: else error msg
365 368
366 ui_threadpool_job(upload->queue, upload->dialog, qthr_upload_finished, upload, uithr_upload_finished, upload); 369 ui_threadpool_job(upload->queue, upload->dialog, qthr_upload_finished, upload, uithr_upload_finished, upload);
367 370

mercurial