From: Eric Wong Date: Mon, 1 Sep 2008 02:45:07 +0000 (-0700) Subject: git-svn: check error code of send_txstream X-Git-Tag: v1.6.1-rc1~269^2~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/991255c634500fe51a70aae6a8e7c8d7b73db0cc?hp=991255c634500fe51a70aae6a8e7c8d7b73db0cc git-svn: check error code of send_txstream Not checking the error code of a function used to transform and send data makes me nervous. It currently returns "undef" on success; so die if we get any result other than "undef" because it's likely something went wrong somewhere. I really wish this function returned an MD5 like send_stream (or better yet, SHA1) for verification. Signed-off-by: Eric Wong ---