use write_str_in_full helper to avoid literal string lengths
authorJim Meyering <jim@meyering.net>
Sat, 12 Sep 2009 08:54:32 +0000 (10:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Sep 2009 08:32:04 +0000 (01:32 -0700)
commit3d913526b19545eb4e463f96d2f3b8db8daae6ef
tree461508cde44a83841394b2868e9d26bf02c61eb2
parentcd03eebbfdae712bd4a10d6b393980a8137ce305
use write_str_in_full helper to avoid literal string lengths

This is the same fix to use write_str_in_full() helper to write a constant
string out without counting the length of it ourselves.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c