fd: Make write_all() receive the length by value.
authorAndre Noll <maan@systemlinux.org>
Tue, 6 Dec 2011 19:46:17 +0000 (20:46 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 20 Jan 2012 21:57:06 +0000 (22:57 +0100)
commitca059ef393a5ea00c3318314b3de5229f9fd7ea0
treee9c0de5e2bc3982326e8a3e07b47b89758bad02d
parent1678eec345675d29f4fe57df18552cf6c0dd322c
fd: Make write_all() receive the length by value.

Not a single caller actually checked the value of the passed
len pointer after the call, which is a sure sign for a bad API.
Just return the number of bytes written.
afh.c
audioc.c
crypt.c
fd.c
fd.h
gcrypt.c
net.c