commit | 591d4450497cc364711ada03ce1b240a99e71a49 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jun 15 17:21:00 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 19 16:23:42 2018 +0200 |
tree | fb00aa2f87916f622d391b195735f0e2534f17b5 | |
parent | 50227f9b88b0aafacffbded499b87e32ab2e4127 [diff] [blame] |
MINOR: buffer: use b_orig() to replace most references to b->data This patch updates most users of b->data to use b_orig().
diff --git a/include/common/buf.h b/include/common/buf.h index b7a5df3..4632a33 100644 --- a/include/common/buf.h +++ b/include/common/buf.h
@@ -364,7 +364,7 @@ if (l1 < max) { *len1 = l1; *len2 = max - l1; - *blk2 = buf->data; + *blk2 = b_orig(buf); return 2; } *len1 = max;