wr = 1;\r
while ((wr > 0 || errno == EAGAIN) && total_write < sizeof (reason))\r
{\r
- wr = GNUNET_DISK_file_write (adc->progress_write,\r
+ wr = GNUNET_DISK_file_write_blocking (adc->progress_write,\r
&((char *)&reason)[total_write], sizeof (reason) - total_write);\r
if (wr > 0)\r
total_write += wr;\r
wr = 1;\r
while ((wr > 0 || errno == EAGAIN) && total_write < sizeof (size_t))\r
{\r
- wr = GNUNET_DISK_file_write (adc->progress_write,\r
+ wr = GNUNET_DISK_file_write_blocking (adc->progress_write,\r
&((char *)&filename_len)[total_write], sizeof (size_t) - total_write);\r
if (wr > 0)\r
total_write += wr;\r
wr = 1;\r
while ((wr > 0 || errno == EAGAIN) && total_write < filename_len)\r
{\r
- wr = GNUNET_DISK_file_write (adc->progress_write,\r
+ wr = GNUNET_DISK_file_write_blocking (adc->progress_write,\r
&((char *)filename)[total_write], filename_len - total_write);\r
if (wr > 0)\r
total_write += wr;\r
wr = 1;\r
while ((wr > 0 || errno == EAGAIN) && total_write < sizeof (char))\r
{\r
- wr = GNUNET_DISK_file_write (adc->progress_write,\r
+ wr = GNUNET_DISK_file_write_blocking (adc->progress_write,\r
&((char *)&is_directory)[total_write], sizeof (char) - total_write);\r
if (wr > 0)\r
total_write += wr;\r