From: Andre Noll Date: Mon, 13 Aug 2012 06:35:17 +0000 (+0200) Subject: sideband: Fix SBB_INIT(). X-Git-Tag: v0.4.12~39^2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=39802f2f11763b1e1164ef36009213eb7cdb54bb;p=paraslash.git sideband: Fix SBB_INIT(). The macro parameter is called "_band" rather than "band". This only worked by accident because all users called the argument "band". --- diff --git a/sideband.h b/sideband.h index 4f4ed0ac..8ae3e4ef 100644 --- a/sideband.h +++ b/sideband.h @@ -114,7 +114,7 @@ typedef void (*sb_transformation)(struct iovec *src, struct iovec *dst, /** Initialize a sideband buffer. */ #define SBB_INIT(_band, _buf, _numbytes) \ { \ - .band = band, \ + .band = _band, \ .iov = { \ .iov_base = _buf, \ .iov_len = _numbytes \