svn commit: trunk/busybox/libbb
vda at busybox.net
vda at busybox.net
Sun Sep 17 15:45:48 UTC 2006
Author: vda
Date: 2006-09-17 08:45:48 -0700 (Sun, 17 Sep 2006)
New Revision: 16140
Log:
style fixes
Modified:
trunk/busybox/libbb/copyfd.c
Changeset:
Modified: trunk/busybox/libbb/copyfd.c
===================================================================
--- trunk/busybox/libbb/copyfd.c 2006-09-17 15:39:22 UTC (rev 16139)
+++ trunk/busybox/libbb/copyfd.c 2006-09-17 15:45:48 UTC (rev 16140)
@@ -28,8 +28,7 @@
RESERVE_CONFIG_BUFFER(buffer,BUFSIZ);
if (src_fd < 0) goto out;
- while (!size || total < size)
- {
+ while (!size || total < size) {
ssize_t wr, rd;
rd = safe_read(src_fd, buffer,
@@ -64,12 +63,12 @@
int bb_copyfd_size(int fd1, int fd2, const off_t size)
{
if (size) {
- return(bb_full_fd_action(fd1, fd2, size));
+ return bb_full_fd_action(fd1, fd2, size);
}
- return(0);
+ return 0;
}
int bb_copyfd_eof(int fd1, int fd2)
{
- return(bb_full_fd_action(fd1, fd2, 0));
+ return bb_full_fd_action(fd1, fd2, 0);
}
More information about the busybox-cvs
mailing list