projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix afs shutdown.
[paraslash.git]
/
afh.c
diff --git
a/afh.c
b/afh.c
index 2ff2c7867e255f2c7b5b5c9cdc5ae7eb453bc59a..86f34ace67e0efcba11fb9ddfe1a2f23ca2416b7 100644
(file)
--- a/
afh.c
+++ b/
afh.c
@@
-105,11
+105,9
@@
static int cat_file(void *audio_file_data, struct afh_info *afhi)
}
}
PARA_INFO_LOG("writing chunk %lu\n", i);
- ret = write
(STDOUT_FILENO, buf,
size);
+ ret = write
_all(STDOUT_FILENO, buf, &
size);
if (ret < 0)
return ret;
- if (ret != size)
- return -E_AFH_SHORT_WRITE;
}
return 1;
}