W dniu 20.09.2016 o 21:02, larsxschneider@xxxxxxxxx pisze: > From: Lars Schneider <larsxschneider@xxxxxxxxx> > > packet_write_fmt() would die in case of a write error even though for > some callers an error would be acceptable. Add packet_write_fmt_gently() > which writes a formatted pkt-line like packet_write_fmt() but does not > die in case of an error. The function is used in a subsequent patch. Looks good. > > Signed-off-by: Lars Schneider <larsxschneider@xxxxxxxxx> > --- > pkt-line.c | 34 ++++++++++++++++++++++++++++++---- > pkt-line.h | 1 + > 2 files changed, 31 insertions(+), 4 deletions(-)